Fix status bar update when switching to other DB (#9073)
* Gui tests: add validation of StatusBarLabel in some tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user