summaryrefslogtreecommitdiff
path: root/src/signs_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/signs_gui.cpp')
-rw-r--r--src/signs_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/signs_gui.cpp b/src/signs_gui.cpp
index 09739e6f5..0e2567dcb 100644
--- a/src/signs_gui.cpp
+++ b/src/signs_gui.cpp
@@ -175,8 +175,7 @@ struct SignListWindow : QueryStringBaseWindow, SignList {
*/
void ClearFilterTextWidget()
{
- this->edit_str_buf[0] = '\0';
- this->text.UpdateSize();
+ this->text.DeleteAll();
this->SetWidgetDirty(WID_SIL_FILTER_TEXT);
}