Skip to content

Commit

Permalink
Remove call to save_to_settings_file
Browse files Browse the repository at this point in the history
  • Loading branch information
chrdavis committed Nov 12, 2019
1 parent 3ddbe92 commit c9ad092
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/modules/powerrename/dll/dllmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,8 @@ class PowerRenameModule : public PowertoyModuleIface
CSettings::SetMaxMRUSize(values.get_int_value(L"int_max_mru_size"));
CSettings::SetShowIconOnMenu(values.get_bool_value(L"bool_show_icon_on_menu"));
CSettings::SetExtendedContextMenuOnly(values.get_bool_value(L"bool_show_extended_menu"));

values.save_to_settings_file();
}
catch (std::exception & ex) {
catch (std::exception) {
// Improper JSON.
}
}
Expand Down

0 comments on commit c9ad092

Please sign in to comment.