mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
Manually set the keyboard shortcut for the Find/Replace dialog to Ctrl+H
Make sure the keyboard shortcut for the Find & Replace dialog is always set to Ctrl+H instead of using Qt's QKeySequence::Replace. At least on KDE desktops but probably on other systems too it break the Ctrl+R shortcut which is used for refresh and SQL execution.
This commit is contained in:
@@ -145,7 +145,7 @@ void MainWindow::init()
|
||||
connect(shortcutBrowseRefreshF5, SIGNAL(activated()), this, SLOT(refresh()));
|
||||
QShortcut* shortcutBrowseRefreshCtrlR = new QShortcut(QKeySequence("Ctrl+R"), this);
|
||||
connect(shortcutBrowseRefreshCtrlR, SIGNAL(activated()), this, SLOT(refresh()));
|
||||
QShortcut* shortcutFindReplace = new QShortcut(QKeySequence(QKeySequence::Replace), this);
|
||||
QShortcut* shortcutFindReplace = new QShortcut(QKeySequence("Ctrl+H"), this);
|
||||
connect(shortcutFindReplace, SIGNAL(activated()), this, SLOT(openFindReplaceDialog()));
|
||||
|
||||
// Create the actions for the recently opened dbs list
|
||||
|
||||
Reference in New Issue
Block a user