Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Kiten
Commits
5c80351e
Commit
5c80351e
authored
Nov 14, 2020
by
Frédéric Brière
Browse files
Set initial focus on the search bar on startup
BUG: 427077
parent
c68535ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/kiten.cpp
View file @
5c80351e
...
...
@@ -299,7 +299,7 @@ void Kiten::finishInit()
}
}
// Edit->Completion()->clear(); // make sure the edit is focused initially
_inputManager
->
focusInput
();
_statusBar
->
showMessage
(
i18n
(
"Welcome to Kiten"
)
);
setCaption
(
QString
()
);
}
...
...
app/searchstringinput.h
View file @
5c80351e
...
...
@@ -46,13 +46,11 @@ class SearchStringInput : public QObject
public
slots
:
void
test
();
void
focusInput
();
signals:
void
search
();
private
slots
:
void
focusInput
();
private:
KSelectAction
*
_actionFilterRare
=
nullptr
;
// Search exact/anywhere/beginning
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment