--- a/Preferences/ToolGroupConfigurationDialog.py Tue Aug 31 13:39:24 2010 +0200 +++ b/Preferences/ToolGroupConfigurationDialog.py Tue Aug 31 16:38:06 2010 +0200 @@ -106,16 +106,13 @@ if row < 0: return - res = E5MessageBox.warning(self, + res = E5MessageBox.yesNo(self, self.trUtf8("Delete tool group entry"), self.trUtf8("""<p>Do you really want to delete the tool group""" """ <b>"{0}"</b>?</p>""")\ .format(self.groupsList.currentItem().text()), - QMessageBox.StandardButtons(\ - QMessageBox.No | \ - QMessageBox.Yes), - QMessageBox.No) - if res != QMessageBox.Yes: + type_ = E5MessageBox.Warning) + if not res: return if row == self.currentGroup: @@ -207,4 +204,4 @@ """ tmp = self.toolGroups[itm1] self.toolGroups[itm1] = self.toolGroups[itm2] - self.toolGroups[itm2] = tmp \ No newline at end of file + self.toolGroups[itm2] = tmp