fix: Undo mistakes from merge

This commit is contained in:
2024-04-04 14:58:06 +01:00
parent 72c1457a7b
commit b1dcaa74f1
24 changed files with 161 additions and 181 deletions

View File

@@ -304,7 +304,7 @@ struct TerraformToolbarWindow : Window {
void SelectLastTool() override
{
// User misplaced something - activate last selected tool again
if (this->last_user_action == WIDGET_LIST_END)
if (this->last_user_action == INVALID_WID_TT)
return;
Point dummy = {0, 0};
this->RaiseWidget(this->last_user_action);