changeset 361:67834ac56f2b

* better default name for new colour (hi Craig!)
author Chris Cannam
date Wed, 06 Feb 2008 14:25:46 +0000
parents d58701996fae
children a9dfa2d6d5ac
files widgets/PropertyBox.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/widgets/PropertyBox.cpp	Wed Feb 06 14:15:09 2008 +0000
+++ b/widgets/PropertyBox.cpp	Wed Feb 06 14:25:46 2008 +0000
@@ -642,8 +642,8 @@
     if (!newColour.isValid()) return;
 
     ColourNameDialog dialog(tr("Name New Colour"),
-                            tr("Enter name for the new colour:"),
-                            newColour, "", this);
+                            tr("Enter a name for the new colour:"),
+                            newColour, newColour.name(), this);
     dialog.showDarkBackgroundCheckbox(tr("Prefer black background for this colour"));
     if (dialog.exec() == QDialog::Accepted) {
         //!!! command