PIVariantEdit widgets
This commit is contained in:
@@ -107,7 +107,7 @@ void ColorButton::changeEvent(QEvent * e) {
|
||||
|
||||
|
||||
void ColorButton::clicked() {
|
||||
QColor ret = QColorDialog::getColor(color(), this, tr("Choose color"), options);
|
||||
QColor ret = QColorDialog::getColor(color(), nullptr, tr("Choose color"), options);
|
||||
if (!ret.isValid()) return;
|
||||
setColor(ret);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user