Commits

Steve Borho  committed ca11daa

commit: do not allow partial selections to linger after folding is disabled

  • Participants
  • Parent commits 4e268bd

Comments (0)

Files changed (1)

File tortoisehg/hgqt/commit.py

             if self.lastAction in ('qref', 'amend'):
                 self.setMessage(self.lastCommitMsg)
         self.stwidget.fileview.enableDiffFolding(allowfolding)
+        if not allowfolding:
+            self.stwidget.partials = {}
         if refreshwctx:
             self.stwidget.refreshWctx()
         self.committb.setText(curraction._text)