mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 20:36:09 +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()
|
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());
|
||||||
|
Loading…
Reference in New Issue
Block a user