mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-18 16:10:26 +02:00
Cmd line option to disable file recovery
This commit is contained in:
parent
63792924e0
commit
b49cd5d12a
3 changed files with 12 additions and 3 deletions
|
@ -56,6 +56,7 @@ namespace IDE
|
|||
WaitEvent mProcessingEvent ~ delete _;
|
||||
String mWorkspaceDir = new String() ~ delete _;
|
||||
bool mWantWorkspaceCleanup;
|
||||
public bool mDisabled;
|
||||
|
||||
public ~this()
|
||||
{
|
||||
|
@ -177,7 +178,7 @@ namespace IDE
|
|||
|
||||
public void CheckWorkspace()
|
||||
{
|
||||
if (gApp.mSettings.mEditorSettings.mEnableFileRecovery != .Yes)
|
||||
if ((gApp.mSettings.mEditorSettings.mEnableFileRecovery != .Yes) && (!mDisabled))
|
||||
return;
|
||||
|
||||
mWantWorkspaceCleanup = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue