Skip to content

Commit 69e1c87

Browse files
committed
EditDialog: Update dock after inline editing of cell
When having set the edit dialog to work in dock mode but changing the content of a cell using the inline editor of the grid view, update the text in the editor of the docked dialog, too. See issue #441.
1 parent e67e2ed commit 69e1c87

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/MainWindow.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ bool MainWindow::fileClose()
500500
delete m_browseTableModel;
501501
m_browseTableModel = new SqliteTableModel(this, &db, PreferencesDialog::getSettingsValue("db", "prefetchsize").toInt());
502502
connect(ui->dataTable->filterHeader(), SIGNAL(filterChanged(int,QString)), this, SLOT(updateFilter(int,QString)));
503+
connect(m_browseTableModel, SIGNAL(dataChanged(QModelIndex,QModelIndex,QVector<int>)), this, SLOT(dataTableSelectionChanged(QModelIndex)));
503504

504505
// Remove all stored table information browse data tab
505506
browseTableSettings.clear();

0 commit comments

Comments
 (0)