@@ -1536,11 +1536,6 @@ void MainWindow::toggleWindow()
|
||||
|
||||
void MainWindow::lockDatabasesAfterInactivity()
|
||||
{
|
||||
// ignore event if a modal dialog is open (such as a message box or file dialog)
|
||||
if (QApplication::activeModalWidget()) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_ui->tabWidget->lockDatabases();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user