mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Hide Auto-Type action when it's not available.
This commit is contained in:
parent
2dde18b179
commit
ecb2e337ef
@ -68,6 +68,8 @@ MainWindow::MainWindow()
|
|||||||
autoType()->registerGlobalShortcut(globalAutoTypeKey, globalAutoTypeModifiers);
|
autoType()->registerGlobalShortcut(globalAutoTypeKey, globalAutoTypeModifiers);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
m_ui->actionEntryAutoType->setVisible(autoType()->isAvailable());
|
||||||
|
|
||||||
m_inactivityTimer = new InactivityTimer(this);
|
m_inactivityTimer = new InactivityTimer(this);
|
||||||
connect(m_inactivityTimer, SIGNAL(inactivityDetected()),
|
connect(m_inactivityTimer, SIGNAL(inactivityDetected()),
|
||||||
m_ui->tabWidget, SLOT(lockDatabases()));
|
m_ui->tabWidget, SLOT(lockDatabases()));
|
||||||
|
Loading…
Reference in New Issue
Block a user