Changeset dd9f28c8a837…
Parent 8777503637c4…
by
Changes to 2 files · Browse files at dd9f28c8a837 Showing diff from parent 8777503637c4 Diff from another changeset...
@@ -23,7 +23,6 @@
# Technical Debt
# command running functionality
-# perhaps a check for no applicable files
class QuickOpDialog(QtGui.QDialog):
""" Dialog for performing quick dirstate operations """
|
@@ -226,6 +226,10 @@ checked = self.tv.model().getChecked()
else:
checked = self.patchecked
+ if self.pats and not self.patchecked:
+ qtlib.WarningMsgBox(_('No appropriate files'),
+ _('No files found for this operation'),
+ parent=self)
tm = WctxModel(self.wctx, self.ms, self.opts, checked)
self.tv.setModel(tm)
self.tv.setSortingEnabled(True)
|
Loading...