Debugger/DebugUI.py

changeset 539
87f9bce38a44
parent 537
72b32daeb8d6
child 553
5af61623ae3c
equal deleted inserted replaced
538:7f1a56e80124 539:87f9bce38a44
1189 else: 1189 else:
1190 msg = self.trUtf8("""<p>A watch expression '<b>{0}</b>'""" 1190 msg = self.trUtf8("""<p>A watch expression '<b>{0}</b>'"""
1191 """ for the variable <b>{1}</b> already exists.</p>""")\ 1191 """ for the variable <b>{1}</b> already exists.</p>""")\
1192 .format(special, 1192 .format(special,
1193 Utilities.html_encode(cond)) 1193 Utilities.html_encode(cond))
1194 QMessageBox.warning(None, 1194 E5MessageBox.warning(self,
1195 self.trUtf8("Watch expression already exists"), 1195 self.trUtf8("Watch expression already exists"),
1196 msg) 1196 msg)
1197 model.deleteWatchPointByIndex(index) 1197 model.deleteWatchPointByIndex(index)
1198 else: 1198 else:
1199 model.setWatchPointByIndex(index, cond, special, 1199 model.setWatchPointByIndex(index, cond, special,

eric ide

mercurial