Commit 4cc527b3 authored by Kurt Hindenburg's avatar Kurt Hindenburg

Set current color as selected in QColorDialog::getColor()

Fix regression where each color selected started as green.

Thanks Boris Egorov egorov linux com for fix

BUG: 343378
REVIEW: 122345
parent 504d8068
......@@ -155,7 +155,7 @@ void ColorSchemeEditor::editColorItem(QTableWidgetItem* item)
}
QColor color = item->background().color();
color = QColorDialog::getColor();
color = QColorDialog::getColor(color);
if ( color.isValid() ) {
item->setBackground(color);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment