summaryrefslogtreecommitdiff
path: root/src/main_gui.cpp
diff options
context:
space:
mode:
authorglx22 <glx@openttd.org>2021-05-17 15:46:38 +0200
committerLoïc Guilloux <glx22@users.noreply.github.com>2021-05-29 21:08:25 +0200
commit5799402f7a4872d03809838dd7fa01db42bbd282 (patch)
tree6b54e235c14621035b4ec7923edb93980be5f056 /src/main_gui.cpp
parent994bf19aef3dde6c9482434bdc51688f76a937ea (diff)
downloadopenttd-5799402f7a4872d03809838dd7fa01db42bbd282.tar.xz
Codechange: Rename window related DeleteXXX to match new behaviour
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r--src/main_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index 1e8cfcbfa..559040f37 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -303,8 +303,8 @@ struct MainWindow : Window
}
case GHK_RESET_OBJECT_TO_PLACE: ResetObjectToPlace(); break;
- case GHK_DELETE_WINDOWS: DeleteNonVitalWindows(); break;
- case GHK_DELETE_NONVITAL_WINDOWS: DeleteAllNonVitalWindows(); break;
+ case GHK_DELETE_WINDOWS: CloseNonVitalWindows(); break;
+ case GHK_DELETE_NONVITAL_WINDOWS: CloseAllNonVitalWindows(); break;
case GHK_DELETE_ALL_MESSAGES: DeleteAllMessages(); break;
case GHK_REFRESH_SCREEN: MarkWholeScreenDirty(); break;