Skip to content

Commit

Permalink
DialogPreview: Update after colors set
Browse files Browse the repository at this point in the history
  • Loading branch information
sithlord48 committed Aug 19, 2022
1 parent ca82fe8 commit 9a9909d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/widgets/common/DialogPreview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ void DialogPreview::setColor(DialogPreview::CORNER corner, const QColor &newColo
if(newColor == colors.at(corner))
return;
colors.replace(corner, newColor);
update();
Q_EMIT colorChanged(corner, newColor);
}

Expand Down

0 comments on commit 9a9909d

Please sign in to comment.