Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

gorev: dialog could only be opened once due to use of destroy

Instead we reset the entry data and merely hide the dialog on successful
navigation.

Changeset 687614baa31e

Parent fe78a2f7513e

by Henrik Stuart

Changes to one file · Browse files at 687614baa31e Showing diff from parent fe78a2f7513e Diff from another changeset...

 
52
53
54
55
 
 
56
57
58
 
52
53
54
 
55
56
57
58
59
@@ -52,7 +52,8 @@
  revision = self.revEntry.get_text()   if self.gotofunc:   self.gotofunc(revision) - self.destroy() + self.revEntry.set_text('') + self.hide()   except mercurial.error.RepoError, e:   gdialog.Prompt(_('Invalid Revision'), str(e), self).run()   self.revEntry.grab_focus()