Hide Auto-Type action when it's not available.

This commit is contained in:
Felix Geyer committed 2015-04-14 23:12:10 +02:00
1 parent 2dde18b179
commit ecb2e337ef
1 file changed
+2
+2
View File
@@ -68,6 +68,8 @@ MainWindow::MainWindow()
autoType()->registerGlobalShortcut(globalAutoTypeKey, globalAutoTypeModifiers);
}
m_ui->actionEntryAutoType->setVisible(autoType()->isAvailable());
m_inactivityTimer = new InactivityTimer(this);
connect(m_inactivityTimer, SIGNAL(inactivityDetected()),
m_ui->tabWidget, SLOT(lockDatabases()));