--Bug fixes

-Do not reset rendering process when arrow is double clicked in the palette editor, because nothing has changed.
This commit is contained in:
Person 2017-03-07 18:15:53 -08:00
parent d6b112dd32
commit 74a371e567
2 changed files with 5 additions and 2 deletions

View File

@ -90,7 +90,8 @@ void ColorPickerWidget::OnColorViewerClicked()
void ColorPickerWidget::OnTriangleColorChanged(const QColor& col)
{
if (col.isValid())
{
m_ColorPanel->Color(col);
emit ColorChanged(col);
emit ColorChanged(col);
}
}

View File

@ -240,7 +240,9 @@ void PaletteEditor::OnColorPickerColorChanged(const QColor& col)
/// <param name="arrow">The arrow which was double clicked on</param>
void PaletteEditor::OnArrowDoubleClicked(const GradientArrow& arrow)
{
blockSignals(true);//Do not update main window when Sync is checked because selecting an arrow as the main color doesn't actually change anything.
m_ColorPicker->SetColorPanelColor(arrow.Color());
blockSignals(false);
}
/// <summary>