mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 22:13:07 +01:00
Fix plugin, window update not being called (#11871)
For windows with no tabs.
This commit is contained in:
@@ -577,9 +577,10 @@ namespace OpenRCT2::Ui::Windows
|
||||
}
|
||||
widget_invalidate(w, WIDX_TAB_0 + w->page);
|
||||
}
|
||||
InvokeEventHandler(info.Owner, info.Desc.OnUpdate);
|
||||
}
|
||||
|
||||
InvokeEventHandler(info.Owner, info.Desc.OnUpdate);
|
||||
|
||||
// Since the plugin may alter widget positions and sizes during an update event,
|
||||
// we need to force an update for all list view scrollbars
|
||||
rct_widgetindex widgetIndex = 0;
|
||||
|
||||
Reference in New Issue
Block a user