Commits

Yuya Nishihara committed 23c132c

rebase: add stub _stbar to replace cmdui.Widget

Comments (0)

Files changed (1)

tortoisehg/hgqt/rebase.py

 
         self.cmd = cmdui.Widget(True, True, self)
         self.cmd.commandFinished.connect(self.commandFinished)
-        self.showMessage.connect(self.cmd.stbar.showMessage)
-        self.cmd.stbar.linkActivated.connect(self.linkActivated)
+        self._stbar = self.cmd.stbar
+        self.showMessage.connect(self._stbar.showMessage)
+        self._stbar.linkActivated.connect(self.linkActivated)
         self.layout().addWidget(self.cmd, 2)
 
         bbox = QDialogButtonBox()