diff options
author | Shawn Rutledge <shawn.rutledge@digia.com> | 2013-09-11 15:14:28 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-12 12:07:30 +0200 |
commit | 5f0ceb07f83bf0c0e7fcaca531d7ebdbab76fdc3 (patch) | |
tree | 03e26a8aee36f1ed952b7de5e3a15a2ec8b02430 /src/imports | |
parent | 82073e1f00a04ea9d20765185acf123b7e052bd6 (diff) |
DefaultColorDialog bugfix: binding color to a TextField
The text field shows the hex value of the currently selected color,
but the color to string conversion is not implicit.
Change-Id: I914033d6358696b4014ca48bf3ae435c98b5be33
Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/dialogs/DefaultColorDialog.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/dialogs/DefaultColorDialog.qml b/src/imports/dialogs/DefaultColorDialog.qml index 44af99bf18..4068c856fa 100644 --- a/src/imports/dialogs/DefaultColorDialog.qml +++ b/src/imports/dialogs/DefaultColorDialog.qml @@ -296,7 +296,7 @@ AbstractColorDialog { spacing: content.spacing TextField { id: colorField - text: root.color + text: root.color.toString() anchors.verticalCenter: parent.verticalCenter onAccepted: root.color = text Component.onCompleted: width = implicitWidth + 10 |