mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 11:41:25 +00:00
GUI: Fix search clear button when switching themes or resolution.
This only fixes the clear button of the launcher's search. For the other clear buttons this is would be a bit more work since they are embedded in tabs.
This commit is contained in:
parent
b2a2f76dd9
commit
19be349a71
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user