mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 12:26:11 +00:00
Don't do e- when resetting settings. (#2180)
This commit is contained in:
parent
fab5f901f9
commit
cd85582164
@ -211,7 +211,10 @@ int Configuration::getNewFileLastClicked()
|
||||
|
||||
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();
|
||||
// Delete the file so no extra configuration is in it.
|
||||
QFile settingsFile(s.fileName());
|
||||
|
Loading…
Reference in New Issue
Block a user