Skip to content

Commit

Permalink
fix background color picker dialog, fix #1531
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni committed Sep 17, 2024
1 parent 12a7f9d commit d0ea31c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meshlab/ml_render_gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ void MLRenderingColorPicker::pickColor()
return;

const QColor initialCol = vcg::ColorConverter::ToQColor(_act->getColor());
const QColor newCol = QColorDialog::getColor(initialCol,this);
const QColor newCol = QColorDialog::getColor(initialCol);
if (newCol.isValid())
{
_act->setColor(newCol);
Expand Down

0 comments on commit d0ea31c

Please sign in to comment.