Better fix for hiding error message window after clicking 'Cancel'
This commit is contained in:
@@ -176,7 +176,9 @@ struct BuildConfirmationWindow : Window {
|
||||
} else {
|
||||
ResetObjectToPlace();
|
||||
DeleteWindowByClass(WC_BUILD_BRIDGE);
|
||||
ClearErrorMessages();
|
||||
//ClearErrorMessages();
|
||||
Window *w = FindWindowById(WC_ERRMSG, 0);
|
||||
if (w != NULL) delete w;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user