Commits

Yuya Nishihara committed a11db9e

workbench: fix memleak of used tab context menu

  • Participants
  • Parent commits 61d474a
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/workbench.py

                 contextmenu.addSeparator()
 
         if actionlist:
+            contextmenu.setAttribute(Qt.WA_DeleteOnClose)
             contextmenu.popup(self.repoTabsWidget.mapToGlobal(point))
 
     @pyqtSlot()