Preferences/ShortcutsDialog.py

changeset 3038
7fe9a53280bd
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
diff -r a417a0670a36 -r 7fe9a53280bd Preferences/ShortcutsDialog.py
--- a/Preferences/ShortcutsDialog.py	Sat Oct 19 16:14:07 2013 +0200
+++ b/Preferences/ShortcutsDialog.py	Sat Oct 19 16:51:12 2013 +0200
@@ -260,7 +260,7 @@
                 (not self.__checkShortcut(
                     keysequence, objectType, self.__editTopItem) or
                  not self.__checkShortcut(
-                    altKeysequence, objectType, self.__editTopItem)):
+                     altKeysequence, objectType, self.__editTopItem)):
             return
         
         self.shortcutsList.currentItem().setText(1, keysequence.toString())
@@ -315,7 +315,7 @@
                                     """<p><b>{0}</b> has already been"""
                                     """ allocated to the <b>{1}</b> action. """
                                     """Remove this binding?</p>""")
-                                    .format(keystr, itm.text(0)),
+                                .format(keystr, itm.text(0)),
                                 icon=E5MessageBox.Warning)
                             if res:
                                 itm.setText(col, "")
@@ -334,7 +334,7 @@
                                 self.trUtf8(
                                     """<p><b>{0}</b> hides the <b>{1}</b>"""
                                     """ action. Remove this binding?</p>""")
-                                    .format(keystr, itm.text(0)),
+                                .format(keystr, itm.text(0)),
                                 icon=E5MessageBox.Warning)
                             if res:
                                 itm.setText(col, "")
@@ -352,7 +352,7 @@
                                     """<p><b>{0}</b> is hidden by the """
                                     """<b>{1}</b> action. """
                                     """Remove this binding?</p>""")
-                                    .format(keystr, itm.text(0)),
+                                .format(keystr, itm.text(0)),
                                 icon=E5MessageBox.Warning)
                             if res:
                                 itm.setText(col, "")
@@ -454,7 +454,7 @@
                         -1) or \
                    (self.shortcutButton.isChecked() and
                     not txt.lower() in itm.text(1).lower() and
-                    not txt.lower() in itm.text(2).lower()):
+                        not txt.lower() in itm.text(2).lower()):
                     itm.setHidden(True)
                     childHiddenCount += 1
                 else:

eric ide

mercurial