Update Editor options when window is shown

This commit is contained in:
2024-03-10 16:42:12 +02:00
parent d92aaeb2b0
commit ca1aa89ba1

View File

@@ -234,6 +234,18 @@ namespace FlaxEditor.Windows
base.OnDestroy();
}
/// <inheritdoc />
protected override void OnShow()
{
if (!_isDataDirty)
{
// Refresh the data, skip when data is modified during window docking
GatherData();
}
base.OnShow();
}
/// <inheritdoc />
protected override bool OnClosing(ClosingReason reason)
{