Skip to content

Commit

Permalink
Dialog was not hidden when loosing focus
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarcia authored and crittermike committed May 10, 2010
1 parent 1a8f45b commit c4400d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zencoding/zen_dialog.py
Expand Up @@ -57,8 +57,8 @@ def key_pressed(widget, what, event):
return False

def focus_lost(self, widget=None, event=None):
widget.exit = True
widget.quit()
self.exit = True
self.quit()

def update(self, entry):
self.abbreviation = self.entry.get_text()
Expand Down

0 comments on commit c4400d1

Please sign in to comment.