Commits

Yuya Nishihara  committed eefa71d

qreorder: mark refresh as slot so that disconnect of signal can be omitted

  • Participants
  • Parent commits 673036c

Comments (0)

Files changed (1)

File tortoisehg/hgqt/qreorder.py

             dlg.makeLogVisible.connect(self.parent().makeLogVisible)
         dlg.exec_()
 
+    @pyqtSlot()
     def refresh(self):
         patchnames = self.repo.mq.series[:]
         applied = [p.name for p in self.repo.mq.applied]
 
     def closeEvent(self, event):
         self._writesettings()
-        self.repo.repositoryChanged.disconnect(self.refresh)
         super(QReorderDialog, self).closeEvent(event)
 
     def _readsettings(self):