eric6/Preferences/ToolConfigurationDialog.py

changeset 8143
2c730d5fd177
parent 7923
91e843545d9a
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
125 " is not an executable." 125 " is not an executable."
126 " Please choose an executable filename.")) 126 " Please choose an executable filename."))
127 return 127 return
128 128
129 if len(self.toolsList.findItems( 129 if len(self.toolsList.findItems(
130 menutext, Qt.MatchFlags(Qt.MatchExactly))): 130 menutext, Qt.MatchFlags(Qt.MatchFlag.MatchExactly))):
131 E5MessageBox.critical( 131 E5MessageBox.critical(
132 self, 132 self,
133 self.tr("Add tool entry"), 133 self.tr("Add tool entry"),
134 self.tr("An entry for the menu text {0} already exists.") 134 self.tr("An entry for the menu text {0} already exists.")
135 .format(menutext)) 135 .format(menutext))

eric ide

mercurial