keep auto-close for non-Linux platforms

This commit is contained in:
nothingTVatYT
2023-10-16 01:13:06 +02:00
parent c42a264944
commit 48a5fe54e8

View File

@@ -319,7 +319,9 @@ namespace FlaxEditor.GUI.Dialogs
protected override void OnShow()
{
// Auto cancel on lost focus
//((WindowRootControl)Root).Window.LostFocus += OnCancel;
#if !PLATFORM_LINUX
((WindowRootControl)Root).Window.LostFocus += OnCancel;
#endif
base.OnShow();
}