Fix status bar update when switching to other DB (#9073)

* Gui tests: add validation of StatusBarLabel in some tests
This commit is contained in:
Dmytro
2023-02-07 19:11:52 -08:00
committed by GitHub
parent bba0c09b42
commit 5bd871528f
3 changed files with 44 additions and 1 deletions

View File

@@ -689,6 +689,7 @@ MainWindow::MainWindow()
statusBar()->addPermanentWidget(m_progressBar);
connect(clipboard(), SIGNAL(updateCountdown(int, QString)), this, SLOT(updateProgressBar(int, QString)));
m_statusBarLabel = new QLabel(statusBar());
m_statusBarLabel->setObjectName("statusBarLabel");
statusBar()->addPermanentWidget(m_statusBarLabel);
restoreConfigState();
@@ -1352,6 +1353,7 @@ void MainWindow::databaseTabChanged(int tabIndex)
}
m_actionMultiplexer.setCurrentObject(m_ui->tabWidget->currentDatabaseWidget());
updateEntryCountLabel();
}
void MainWindow::closeEvent(QCloseEvent* event)