mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-18 19:48:23 -05:00
Enable buttons for editing/deleting tables and similar on first click
When opening a database and clicking on a table in the Database Structure tab, the buttons for modifying or deleting the table were still disabled. Only on the second click activated the buttons correctly. See issue #2528.
This commit is contained in:
+1
-1
@@ -430,7 +430,7 @@ void MainWindow::init()
|
||||
connect(editDock, &EditDialog::recordTextUpdated, this, &MainWindow::updateRecordText);
|
||||
connect(editDock, &EditDialog::evaluateText, this, &MainWindow::evaluateText);
|
||||
connect(editDock, &EditDialog::requestUrlOrFileOpen, this, &MainWindow::openUrlOrFile);
|
||||
connect(ui->dbTreeWidget->selectionModel(), &QItemSelectionModel::currentChanged, this, &MainWindow::changeTreeSelection);
|
||||
connect(ui->dbTreeWidget->selectionModel(), &QItemSelectionModel::selectionChanged, this, &MainWindow::changeTreeSelection);
|
||||
connect(ui->dockEdit, &QDockWidget::visibilityChanged, this, &MainWindow::toggleEditDock);
|
||||
connect(remoteDock, SIGNAL(openFile(QString)), this, SLOT(fileOpen(QString)));
|
||||
connect(ui->actionDropQualifiedCheck, &QAction::toggled, dbStructureModel, &DbStructureModel::setDropQualifiedNames);
|
||||
|
||||
Reference in New Issue
Block a user