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