Add ctrl+l as shortcut to move the focus to the search entry
This commit is contained in:
parent
bbc2dd1e48
commit
bd93f547d5
1 changed files with 3 additions and 0 deletions
|
@ -279,6 +279,9 @@ void RclMain::init()
|
||||||
QKeySequence seq("Ctrl+Shift+s");
|
QKeySequence seq("Ctrl+Shift+s");
|
||||||
QShortcut *sc = new QShortcut(seq, this);
|
QShortcut *sc = new QShortcut(seq, this);
|
||||||
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
||||||
|
QKeySequence seql("Ctrl+l");
|
||||||
|
sc = new QShortcut(seql, this);
|
||||||
|
connect(sc, SIGNAL (activated()), sSearch, SLOT (takeFocus()));
|
||||||
|
|
||||||
connect(&m_watcher, SIGNAL(fileChanged(QString)),
|
connect(&m_watcher, SIGNAL(fileChanged(QString)),
|
||||||
this, SLOT(idxStatus()));
|
this, SLOT(idxStatus()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue