diff options
Diffstat (limited to 'Swift')
| -rw-r--r-- | Swift/QtUI/QtColorToolButton.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtColorToolButton.cpp b/Swift/QtUI/QtColorToolButton.cpp index b349a47..6452cf4 100644 --- a/Swift/QtUI/QtColorToolButton.cpp +++ b/Swift/QtUI/QtColorToolButton.cpp | |||
| @@ -36,6 +36,7 @@ void QtColorToolButton::setColor(const QColor& color) | |||
| 36 | void QtColorToolButton::onClicked() | 36 | void QtColorToolButton::onClicked() |
| 37 | { | 37 | { |
| 38 | QColor c = QColorDialog::getColor(color_, this); | 38 | QColor c = QColorDialog::getColor(color_, this); |
| 39 | window()->raise(); | ||
| 39 | if (c.isValid()) { | 40 | if (c.isValid()) { |
| 40 | setColor(c); | 41 | setColor(c); |
| 41 | } | 42 | } |
Swift