1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 0bb53cb

filectxactions: fix parent of vdiff warning dialog

b6d91077d807 missed this part.

  • Participants
  • Parent commits e21016b
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/filectxactions.py

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