Skip to content

Commit 8366dde

Browse files
Fix another owner-related error
1 parent 2040304 commit 8366dde

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/Shared/ThemeLib/Gui/GuiBase.ahk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ class GuiBase {
870870
OnMessage(0x002B, this.tabsCustomDrawCallback, 0)
871871
}
872872

873-
if (this.owner != "" && this.owner.Hwnd != this.guiObj.Hwnd) {
873+
if (this.owner != "" && WinExist("ahk_id " . this.owner.Hwnd)) {
874874
; @todo only re-enable if there are no other open children. Let WindowManager handle this...
875875
this.owner.Opt("-Disabled")
876876
WinActivate("ahk_id " . this.owner.Hwnd)

0 commit comments

Comments
 (0)