--- a/Preferences/ShortcutsDialog.py Wed Jul 28 15:12:20 2010 +0200 +++ b/Preferences/ShortcutsDialog.py Wed Jul 28 15:23:22 2010 +0200 @@ -310,7 +310,7 @@ continue # step 2: check if shortcut hides an already allocated - if itmseq.startswith("%s+" % keystr): + if itmseq.startswith("{0}+".format(keystr)): res = QMessageBox.warning(None, self.trUtf8("Edit shortcuts"), self.trUtf8(\ @@ -328,7 +328,7 @@ return False # step 3: check if shortcut is hidden by an already allocated - if keystr.startswith("%s+" % itmseq): + if keystr.startswith("{0}+".format(itmseq)): res = QMessageBox.warning(None, self.trUtf8("Edit shortcuts"), self.trUtf8(\ @@ -458,4 +458,4 @@ @param checked state of the shortcuts radio button (boolean) """ if checked: - self.on_searchEdit_textChanged(self.searchEdit.text()) \ No newline at end of file + self.on_searchEdit_textChanged(self.searchEdit.text())