ToastFreeware
/
toast
/
confclerk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdbdad7
)
The focus is set to the search input field when the search icon is clicked.
author
Philipp Spitzer
<philipp@spitzer.priv.at>
Wed, 17 Oct 2012 21:29:36 +0000
(21:29 +0000)
committer
Philipp Spitzer
<philipp@spitzer.priv.at>
Wed, 17 Oct 2012 21:29:36 +0000
(21:29 +0000)
src/gui/searchtabcontainer.cpp
patch
|
blob
|
history
diff --git
a/src/gui/searchtabcontainer.cpp
b/src/gui/searchtabcontainer.cpp
index 0800f99e67e05edf91b047f84650a7f91aa5388c..2a34d7563785fbd4da3f52c28b8eed961b1574fd 100644
(file)
--- a/
src/gui/searchtabcontainer.cpp
+++ b/
src/gui/searchtabcontainer.cpp
@@
-53,6
+53,7
@@
int SearchTabContainer::searchResultCount(const QDate& date) const {
void SearchTabContainer::showSearchDialog(bool show) {
header->setVisible(show);
treeView->setVisible(!show);
+ if (show) header->searchEdit->setFocus(Qt::OtherFocusReason);
}