mirror of https://github.com/CGAL/cgal
Reset settings if preference dialog is canceled
This commit is contained in:
parent
df7de2fb54
commit
fb98c5773d
|
|
@ -2267,6 +2267,10 @@ void MainWindow::on_actionPreferences_triggered()
|
|||
settings.setValue("lines_width", this->default_lines_width);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
readSettings();
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::setBackgroundColor()
|
||||
|
|
|
|||
Loading…
Reference in New Issue