summaryrefslogtreecommitdiff
path: root/src/settings_table.cpp
diff options
context:
space:
mode:
authorTyler Trahan <tyler@tylertrahan.com>2021-09-05 14:22:27 -0400
committerGitHub <noreply@github.com>2021-09-05 20:22:27 +0200
commit7469f00c5b8d0dc5cc2034eb9dc91c6e8721ac03 (patch)
tree5a587cb8e7a12af3d15e120001edacfd89807048 /src/settings_table.cpp
parentf656b0ae966052327a6341be8dee65cfd2f395b8 (diff)
downloadopenttd-7469f00c5b8d0dc5cc2034eb9dc91c6e8721ac03.tar.xz
Feature: Hide block signals in GUI by default (#8688)
Diffstat (limited to 'src/settings_table.cpp')
-rw-r--r--src/settings_table.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/settings_table.cpp b/src/settings_table.cpp
index 27fb4ef08..4b94a8be7 100644
--- a/src/settings_table.cpp
+++ b/src/settings_table.cpp
@@ -109,13 +109,6 @@ static void StationSpreadChanged(int32 p1)
InvalidateWindowData(WC_BUILD_STATION, 0);
}
-static void CloseSignalGUI(int32 new_value)
-{
- if (new_value == 0) {
- CloseWindowByClass(WC_BUILD_SIGNAL);
- }
-}
-
static void UpdateConsists(int32 new_value)
{
for (Train *t : Train::Iterate()) {