forked from rosebudai/OpenRCT2-Web
Fix plugin, window update not being called (#11871)
For windows with no tabs.
This commit is contained in:
1 parent
6312b27fa7
commit
d0a8c9fa92
1 file changed
+2
-1
@@ -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