E5Gui/E5ToolBarDialog.py

changeset 535
4b00d7336e19
parent 482
4650a72c307a
child 537
72b32daeb8d6
--- a/E5Gui/E5ToolBarDialog.py	Mon Aug 30 15:28:21 2010 +0200
+++ b/E5Gui/E5ToolBarDialog.py	Mon Aug 30 19:03:34 2010 +0200
@@ -129,9 +129,7 @@
                 QMessageBox.critical(self,
                 self.trUtf8("New Toolbar"),
                 self.trUtf8("""A toolbar with the name <b>{0}</b> already exists.""")\
-                    .format(name),
-                QMessageBox.StandardButtons(\
-                    QMessageBox.Abort))
+                    .format(name))
                 return
             
             tbItem = E5ToolBarItem(None, [], False)
@@ -190,9 +188,7 @@
                 QMessageBox.critical(self,
                 self.trUtf8("Rename Toolbar"),
                 self.trUtf8("""A toolbar with the name <b>{0}</b> already exists.""")\
-                    .format(newName),
-                QMessageBox.StandardButtons(\
-                    QMessageBox.Abort))
+                    .format(newName))
                 return
             index = self.toolbarComboBox.currentIndex()
             self.toolbarComboBox.setItemText(index, newName)

eric ide

mercurial