Moved inserting empty row inside model code

This commit is contained in:
Vladislav Tronko
2016-09-06 23:01:03 +03:00
parent 76402012ae
commit 8783728c19
2 changed files with 1 additions and 1 deletions

View File

@@ -609,7 +609,6 @@ void MainWindow::dittoRecord()
if (row == -1)
return;
addRecord();
QModelIndex idx = m_browseTableModel->dittoRecord(row);
ui->dataTable->setCurrentIndex(idx);
}