777 """ |
777 """ |
778 shouldReopen = self.vcs.getExtensionObject("mq")\ |
778 shouldReopen = self.vcs.getExtensionObject("mq")\ |
779 .hgQueuePushPopPatches(name, operation=operation, all=all, |
779 .hgQueuePushPopPatches(name, operation=operation, all=all, |
780 named=named, force=force) |
780 named=named, force=force) |
781 if shouldReopen: |
781 if shouldReopen: |
782 res = E5MessageBox.yesNo(None, |
782 res = E5MessageBox.yesNo( |
|
783 None, |
783 self.trUtf8("Changing Applied Patches"), |
784 self.trUtf8("Changing Applied Patches"), |
784 self.trUtf8("""The project should be reread. Do this now?"""), |
785 self.trUtf8("""The project should be reread. Do this now?"""), |
785 yesDefault=True) |
786 yesDefault=True) |
786 if res: |
787 if res: |
787 self.project.reopenProject() |
788 self.project.reopenProject() |