Skip to content

Commit

Permalink
Changed Gui, Hide to Gui, Destroy on line 927, added to line 935. Gui…
Browse files Browse the repository at this point in the history
…, Hide creates problems if you run the management window, exit it by cancel, OK, or Escape, then run again. (creates conflicting variables [can't be assigned more than once]) Gui, Destroy doesn't have these problems.
  • Loading branch information
adam committed Jul 17, 2007
1 parent d5444cc commit 1dc8827
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion texter.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -924,13 +924,16 @@ return

2GuiEscape:
PButtonCancel:
Gui,2: Hide
Gui,2: Destroy
return

PButtonOK:
Gosub,PButtonSave
if PSaveSuccessful
{
Gui,2: Submit
Gui,2: Destroy
}
return

AddBundle:
Expand Down

0 comments on commit 1dc8827

Please sign in to comment.