fixed bug in the case of 'closing Bar_cmdGui and activating the next to last

window'
This commit is contained in:
joten 2012-10-01 22:31:00 +02:00
parent 39ccce432d
commit 016f0463b4

View file

@ -355,8 +355,6 @@ Bar_toggleCommandGui() {
y := Monitor_#%Manager_aMonitor%_y + Monitor_#%Manager_aMonitor%_height - Bar_#0_#0H y := Monitor_#%Manager_aMonitor%_y + Monitor_#%Manager_aMonitor%_height - Bar_#0_#0H
Gui, Show Gui, Show
WinMove, bug.n_BAR_0, , %x%, %y% WinMove, bug.n_BAR_0, , %x%, %y%
WinGet, wndId, ID, bug.n_BAR_0
Manager_winActivate(wndId)
GuiControl, Focus, % Bar_#0_#0 GuiControl, Focus, % Bar_#0_#0
} }
} }