235 idx.internalPointer() != index.internalPointer() |
235 idx.internalPointer() != index.internalPointer() |
236 if showMessage and duplicate: |
236 if showMessage and duplicate: |
237 if not special: |
237 if not special: |
238 msg = self.trUtf8("""<p>A watch expression '<b>{0}</b>'""" |
238 msg = self.trUtf8("""<p>A watch expression '<b>{0}</b>'""" |
239 """ already exists.</p>""")\ |
239 """ already exists.</p>""")\ |
240 .format(Utilities.html_encode(cond)) |
240 .format(Utilities.html_encode(cond)) |
241 else: |
241 else: |
242 msg = self.trUtf8( |
242 msg = self.trUtf8( |
243 """<p>A watch expression '<b>{0}</b>'""" |
243 """<p>A watch expression '<b>{0}</b>'""" |
244 """ for the variable <b>{1}</b> already exists.</p>""")\ |
244 """ for the variable <b>{1}</b> already exists.</p>""")\ |
245 .format(special, Utilities.html_encode(cond)) |
245 .format(special, Utilities.html_encode(cond)) |