better style
commit3647dd33e365e0732cfdc574489f8b1f55ac7527
authorAndrea Cimitan <andrea.cimitan@gmail.com>
dateMon 4 Jul 2016, 13:38 (10 years ago)
parentc08422c
qml/Dash/DashPageHeader.qml+2−1
@@ -81,7 +81,8 @@ Item {
8181 function closePopup(keepFocus, keepSearch) {
8282 if (extraPanel.visible) {
8383 extraPanel.visible = false;
84− } if (!keepFocus) {
84+ }
85+ if (!keepFocus) {
8586 unfocus(keepSearch);
8687 }
8788 if (!keepSearch && !searchTextField.text && !root.navigationTag && searchHistory.count == 0) {