mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Fix window caption of edit field dialog called by popup menu
Fix the caption of the edit field dialog to show the correct table name when it is called by the modify field action in the popup menu or the toolbar. Also remove one more useless debug message.
This commit is contained in:
@@ -1280,8 +1280,7 @@ void MainWindow::on_edit_field(){
|
||||
}
|
||||
QTreeWidgetItem *item = ui->dbTreeWidget->currentItem();
|
||||
editFieldForm *fieldForm = new editFieldForm( this );
|
||||
qDebug(item->text(2).toUtf8());
|
||||
fieldForm->setInitialValues(&db, false, "TABLE_NAME", item->text(0), item->text(2));
|
||||
fieldForm->setInitialValues(&db, false, item->parent()->text(0), item->text(0), item->text(2));
|
||||
if (fieldForm->exec())
|
||||
{
|
||||
//modified = true;
|
||||
|
||||
Reference in New Issue
Block a user