summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/root.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 8c98bdd3..9ed62711 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -776,17 +776,12 @@ static iBool handleSearchBarCommands_(iWidget *searchBar, const char *cmd) {
776 else if (equal_Command(cmd, "focus.gained")) { 776 else if (equal_Command(cmd, "focus.gained")) {
777 if (pointer_Command(cmd) == findChild_Widget(searchBar, "find.input")) { 777 if (pointer_Command(cmd) == findChild_Widget(searchBar, "find.input")) {
778 if (!isVisible_Widget(searchBar)) { 778 if (!isVisible_Widget(searchBar)) {
779// setFlags_Widget(searchBar, hidden_WidgetFlag | disabled_WidgetFlag, iFalse);
780// arrange_Widget(root_Widget(searchBar));
781// postRefresh_App();
782 showCollapsed_Widget(searchBar, iTrue); 779 showCollapsed_Widget(searchBar, iTrue);
783 } 780 }
784 } 781 }
785 } 782 }
786 else if (equal_Command(cmd, "find.close")) { 783 else if (equal_Command(cmd, "find.close")) {
787 if (isVisible_Widget(searchBar)) { 784 if (isVisible_Widget(searchBar)) {
788 //setFlags_Widget(searchBar, hidden_WidgetFlag | disabled_WidgetFlag, iTrue);
789 //arrange_Widget(searchBar->parent);
790 showCollapsed_Widget(searchBar, iFalse); 785 showCollapsed_Widget(searchBar, iFalse);
791 if (isFocused_Widget(findChild_Widget(searchBar, "find.input"))) { 786 if (isFocused_Widget(findChild_Widget(searchBar, "find.input"))) {
792 setFocus_Widget(NULL); 787 setFocus_Widget(NULL);