Commit fdcc4440 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

PreferenceWidget: Discard unsaved changes when clicking "restore"

parent 35353442
......@@ -113,6 +113,7 @@ PreferenceWidget::reset()
{
foreach ( ISettingsCategoryWidget* w, m_settings )
w->setting()->restoreDefault();
discard();
save();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment