1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 3866bc9

graft: add stub _stbar to replace cmdui.Widget

  • Participants
  • Parent commits 575e480
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/hgqt/graft.py

View file
  • Ignore whitespace
 
         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()