Commits

Yuya Nishihara committed 0bb53cb

filectxactions: fix parent of vdiff warning dialog

b6d91077d807 missed this part.

Comments (0)

Files changed (1)

tortoisehg/hgqt/filectxactions.py

         if not filenames:
             return
         if rev in repo.thgmqunappliedpatches:
-            QMessageBox.warning(self,
+            QMessageBox.warning(self.parent(),
                 _("Cannot display visual diff"),
                 _("Visual diffs are not supported for unapplied patches"))
             return