{
QColor aColor = QColorDialog::getColor(canvas()->backgroundColor(), this );
if ( aColor.isValid() ) {
+ // change background color for array view
canvas()->setBackgroundColor(aColor);
setPaletteBackgroundColor(aColor.light(120));
+ // change background color for canvas view
+ getMain()->getCanvasView()->canvas()->setBackgroundColor(aColor);
+ getMain()->getCanvasView()->setPaletteBackgroundColor(aColor.light(120));
}
}
{
QColor aColor = QColorDialog::getColor(canvas()->backgroundColor(), this );
if ( aColor.isValid() ) {
+ // change background color for canvas view
canvas()->setBackgroundColor(aColor);
setPaletteBackgroundColor(aColor.light(120));
+ // change background color for array view
+ getMain()->getArrayView()->canvas()->setBackgroundColor(aColor);
+ getMain()->getArrayView()->setPaletteBackgroundColor(aColor.light(120));
}
}