Templates/TemplateViewer.py

changeset 539
87f9bce38a44
parent 538
7f1a56e80124
child 541
00e1a5d060c5
equal deleted inserted replaced
538:7f1a56e80124 539:87f9bce38a44
774 @param newname new name of the group (string) 774 @param newname new name of the group (string)
775 @param language programming language for the group (string) 775 @param language programming language for the group (string)
776 """ 776 """
777 if oldname != newname: 777 if oldname != newname:
778 if newname in self.groups: 778 if newname in self.groups:
779 QMessageBox.warning(self, 779 E5MessageBox.warning(self,
780 self.trUtf8("Edit Template Group"), 780 self.trUtf8("Edit Template Group"),
781 self.trUtf8("""<p>A template group with the name""" 781 self.trUtf8("""<p>A template group with the name"""
782 """ <b>{0}</b> already exists.</p>""")\ 782 """ <b>{0}</b> already exists.</p>""")\
783 .format(newname)) 783 .format(newname))
784 return 784 return

eric ide

mercurial