Changeset 5f3e4d3631de…
Parent 08177bd3bb2e…
by
Changes to one file · Browse files at 5f3e4d3631de Showing diff from parent 08177bd3bb2e Diff from another changeset...
@@ -107,17 +107,14 @@ repo.ui.configbool('tortoisehg', 'autoresolve', False))
## command widget
- if self.parent:
- self.cmd = cmdui.Runner(_('TortoiseHg Update'), False, self)
- else:
- self.cmd = cmdui.Widget(True, self)
- box.addWidget(self.cmd)
+ self.cmd = cmdui.Widget()
self.cmd.commandStarted.connect(self.command_started)
self.cmd.commandFinished.connect(self.command_finished)
self.cmd.commandCanceling.connect(self.command_canceling)
self.cmd.output.connect(self.output)
self.cmd.makeLogVisible.connect(self.makeLogVisible)
self.cmd.progress.connect(self.progress)
+ box.addWidget(self.cmd)
## bottom buttons
buttons = QDialogButtonBox()
@@ -288,7 +285,7 @@ self.update_btn.setHidden(True)
self.close_btn.setHidden(True)
self.cancel_btn.setShown(True)
- self.detail_btn.setShown(not self.parent())
+ self.detail_btn.setShown(True)
def command_finished(self, ret):
self.repo.decrementBusyCount()
|
Loading...