summaryrefslogtreecommitdiff
path: root/src/newgrf_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/newgrf_gui.cpp')
-rw-r--r--src/newgrf_gui.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index d769f4968..4256793c9 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -747,8 +747,9 @@ struct NewGRFWindow : public QueryStringBaseWindow {
this->InvalidateData();
if (click_count == 1) break;
+ /* FALL THROUGH, with double click. */
}
- /* FALL THROUGH, with double click. */
+
case SNGRFS_REMOVE: { // Remove GRF
if (this->active_sel == NULL || !this->editable) break;
DeleteWindowByClass(WC_GRF_PARAMETERS);
@@ -787,8 +788,9 @@ struct NewGRFWindow : public QueryStringBaseWindow {
}
this->InvalidateData();
if (click_count == 1) break;
+ /* FALL THROUGH, with double click. */
}
- /* FALL THROUGH, with double click. */
+
case SNGRFS_ADD: {
if (this->avail_sel == NULL || !this->editable) break;