Preferences/ToolConfigurationDialog.py

changeset 3038
7fe9a53280bd
parent 3034
7ce719013078
child 3060
5883ce99ee12
child 3160
209a07d7e401
equal deleted inserted replaced
3037:a417a0670a36 3038:7fe9a53280bd
128 menutext, Qt.MatchFlags(Qt.MatchExactly))): 128 menutext, Qt.MatchFlags(Qt.MatchExactly))):
129 E5MessageBox.critical( 129 E5MessageBox.critical(
130 self, 130 self,
131 self.trUtf8("Add tool entry"), 131 self.trUtf8("Add tool entry"),
132 self.trUtf8("An entry for the menu text {0} already exists.") 132 self.trUtf8("An entry for the menu text {0} already exists.")
133 .format(menutext)) 133 .format(menutext))
134 return 134 return
135 135
136 self.toolsList.addItem(menutext) 136 self.toolsList.addItem(menutext)
137 tool = { 137 tool = {
138 'menutext': menutext, 138 'menutext': menutext,

eric ide

mercurial