Fix color picker auto-submit on defocus on Linux

#4046
This commit is contained in:
2026-04-08 00:00:13 +02:00
parent 47508150c2
commit 85c134ce2a
@@ -445,9 +445,7 @@ namespace FlaxEditor.GUI.Dialogs
protected override void OnShow()
{
// Apply changes on lost focus
#if !PLATFORM_LINUX
((WindowRootControl)Root).Window.LostFocus += OnSubmit;
#endif
base.OnShow();
}