Fix password preview font, add some documentation (#3425)

* Fix #3376. Set font for password preview to Font::fixedFont()
* Add a menu entry opening the shortcuts documentation in the browser
* Fixed duplicate item in CLI documentation
This commit is contained in:
Soham Gumaste
2019-08-31 08:25:02 +05:30
committed by Jonathan White
parent eb1882453f
commit 018e9f30be
6 changed files with 21 additions and 2 deletions

View File

@@ -407,6 +407,7 @@ MainWindow::MainWindow()
connect(m_ui->actionGettingStarted, SIGNAL(triggered()), SLOT(openGettingStartedGuide()));
connect(m_ui->actionUserGuide, SIGNAL(triggered()), SLOT(openUserGuide()));
connect(m_ui->actionOnlineHelp, SIGNAL(triggered()), SLOT(openOnlineHelp()));
connect(m_ui->actionKeyboardShortcuts, SIGNAL(triggered()), SLOT(openKeyboardShortcuts()));
#ifdef Q_OS_MACOS
setUnifiedTitleAndToolBarOnMac(true);
@@ -814,6 +815,12 @@ void MainWindow::openOnlineHelp()
{
customOpenUrl("https://keepassxc.org/docs/");
}
void MainWindow::openKeyboardShortcuts()
{
customOpenUrl("https://github.com/keepassxreboot/keepassxc/blob/develop/docs/KEYBINDS.md");
}
void MainWindow::switchToDatabases()
{
if (m_ui->tabWidget->currentIndex() == -1) {