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, |