aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 904f075cba..c737b81b33 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -1131,6 +1131,11 @@ void LauncherDialog::reflowLayout() {
_searchPic = 0;
}
}
+
+ removeWidget(_searchClearButton);
+ _searchClearButton->setNext(0);
+ delete _searchClearButton;
+ _searchClearButton = addClearButton(this, "Launcher.SearchClearButton", kSearchClearCmd);
#endif
_w = g_system->getOverlayWidth();