Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable qreorder: avoid traceback when trying to rename a patch and

dialog was not called from the workbench

Changeset 9ff80b3f03db

Parent 977e00f9a309

by Johan Samyn

Changes to one file · Browse files at 9ff80b3f03db Showing diff from parent 977e00f9a309 Diff from another changeset...

 
124
125
126
127
128
 
 
 
129
130
131
 
124
125
126
 
 
127
128
129
130
131
132
@@ -124,8 +124,9 @@
  patchname = self.menuselection   dlg = qrename.QRenameDialog(self.repo, patchname, self)   dlg.finished.connect(dlg.deleteLater) - dlg.output.connect(self.parent().output) - dlg.makeLogVisible.connect(self.parent().makeLogVisible) + if self.parent(): + dlg.output.connect(self.parent().output) + dlg.makeLogVisible.connect(self.parent().makeLogVisible)   dlg.exec_()     def refresh(self):