# HG changeset patch # User Chris Cannam # Date 1202307946 0 # Node ID 67834ac56f2bfaaaaef794b3416831efbfa573e3 # Parent d58701996fae3ddf57078faa14c0e681e0257a77 * better default name for new colour (hi Craig!) diff -r d58701996fae -r 67834ac56f2b widgets/PropertyBox.cpp --- 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