Fixed cancelling building bridges

This commit is contained in:
pelya
2017-03-27 00:24:10 +03:00
committed by Sergii Pylypenko
parent bb71a37ab3
commit 932ed064b0
2 changed files with 1 additions and 2 deletions

View File

@@ -174,6 +174,7 @@ struct BuildConfirmationWindow : Window {
ToolbarSelectLastTool(); ToolbarSelectLastTool();
} else { } else {
ResetObjectToPlace(); ResetObjectToPlace();
DeleteWindowByClass(WC_BUILD_BRIDGE);
} }
break; break;
} }

View File

@@ -16,5 +16,3 @@
- Tooltip window steals touches, move tooltip window back to the top of the mouse cursor. - Tooltip window steals touches, move tooltip window back to the top of the mouse cursor.
- Drag&drop is broken. - Drag&drop is broken.
- Cancelling bridge building still sohws the dialog.