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.
This commit is contained in:
Martin Kleusberg
2015-12-24 14:27:39 +01:00
parent e67e2ed1a6
commit 69e1c87f7a

View File

@@ -500,6 +500,7 @@ bool MainWindow::fileClose()
delete m_browseTableModel;
m_browseTableModel = new SqliteTableModel(this, &db, PreferencesDialog::getSettingsValue("db", "prefetchsize").toInt());
connect(ui->dataTable->filterHeader(), SIGNAL(filterChanged(int,QString)), this, SLOT(updateFilter(int,QString)));
connect(m_browseTableModel, SIGNAL(dataChanged(QModelIndex,QModelIndex,QVector<int>)), this, SLOT(dataTableSelectionChanged(QModelIndex)));
// Remove all stored table information browse data tab
browseTableSettings.clear();