Don't do e- when resetting settings. (#2180)

This commit is contained in:
karliss 2020-05-07 13:05:09 +03:00 committed by GitHub
parent fab5f901f9
commit cd85582164
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,10 @@ int Configuration::getNewFileLastClicked()
void Configuration::resetAll() void Configuration::resetAll()
{ {
Core()->cmdRaw("e-"); // Don't reset all r2 vars, that currently breaks a bunch of stuff.
// settingsFile.remove()+loadInitials() should reset all settings configurable using Cutter GUI.
//Core()->cmdRaw("e-");
Core()->setSettings(); Core()->setSettings();
// Delete the file so no extra configuration is in it. // Delete the file so no extra configuration is in it.
QFile settingsFile(s.fileName()); QFile settingsFile(s.fileName());