Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Education
Kiten
Commits
07ca88d6
Commit
07ca88d6
authored
Nov 14, 2020
by
Frédéric Brière
Committed by
Albert Astals Cid
Nov 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set initial focus on the search bar on startup
BUG: 427077
parent
fff03c80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
app/kiten.cpp
app/kiten.cpp
+1
-1
app/searchstringinput.h
app/searchstringinput.h
+1
-3
No files found.
app/kiten.cpp
View file @
07ca88d6
...
...
@@ -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 @
07ca88d6
...
...
@@ -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
Markdown
is supported
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