2404:cba0ff902c2b | 2405:d4b5f3bd4720 |
---|---|
13 from PyQt4.QtGui import QWidget, QDialogButtonBox, QMenu, QHeaderView, QTreeWidgetItem, \ | 13 from PyQt4.QtGui import QWidget, QDialogButtonBox, QMenu, QHeaderView, QTreeWidgetItem, \ |
14 QLineEdit | 14 QLineEdit |
15 | 15 |
16 from E5Gui.E5Application import e5App | 16 from E5Gui.E5Application import e5App |
17 from E5Gui import E5MessageBox | 17 from E5Gui import E5MessageBox |
18 | |
19 from .HgDiffDialog import HgDiffDialog | |
20 | 18 |
21 from .Ui_HgStatusDialog import Ui_HgStatusDialog | 19 from .Ui_HgStatusDialog import Ui_HgStatusDialog |
22 | 20 |
23 import Preferences | 21 import Preferences |
24 | 22 |
665 self.trUtf8("""There are no uncommitted changes""" | 663 self.trUtf8("""There are no uncommitted changes""" |
666 """ available/selected.""")) | 664 """ available/selected.""")) |
667 return | 665 return |
668 | 666 |
669 if self.diff is None: | 667 if self.diff is None: |
668 from .HgDiffDialog import HgDiffDialog | |
670 self.diff = HgDiffDialog(self.vcs) | 669 self.diff = HgDiffDialog(self.vcs) |
671 self.diff.show() | 670 self.diff.show() |
672 self.diff.start(names) | 671 self.diff.start(names) |
673 | 672 |
674 def __getCommitableItems(self): | 673 def __getCommitableItems(self): |