From 932ed064b01fb7436fe55dbdc2aca519f341a5ea Mon Sep 17 00:00:00 2001 From: pelya Date: Mon, 27 Mar 2017 00:24:10 +0300 Subject: [PATCH] Fixed cancelling building bridges --- src/build_confirmation_gui.cpp | 1 + todo.txt | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/build_confirmation_gui.cpp b/src/build_confirmation_gui.cpp index 34fe8d95fd..07e9632116 100644 --- a/src/build_confirmation_gui.cpp +++ b/src/build_confirmation_gui.cpp @@ -174,6 +174,7 @@ struct BuildConfirmationWindow : Window { ToolbarSelectLastTool(); } else { ResetObjectToPlace(); + DeleteWindowByClass(WC_BUILD_BRIDGE); } break; } diff --git a/todo.txt b/todo.txt index a14784f8ff..0fa064eb52 100644 --- a/todo.txt +++ b/todo.txt @@ -16,5 +16,3 @@ - Tooltip window steals touches, move tooltip window back to the top of the mouse cursor. - Drag&drop is broken. - -- Cancelling bridge building still sohws the dialog.