mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Allow unsetting default save directory by entering blank. Refs #335
This commit is contained in:
@@ -277,7 +277,7 @@ namespace renderdocui.Windows.Dialogs
|
||||
{
|
||||
try
|
||||
{
|
||||
if (Directory.Exists(saveDirectory.Text))
|
||||
if (Directory.Exists(saveDirectory.Text) || saveDirectory.Text == "")
|
||||
m_Core.Config.DefaultCaptureSaveDirectory = saveDirectory.Text;
|
||||
|
||||
m_Core.Config.Serialize(Core.ConfigFilename);
|
||||
|
||||
Reference in New Issue
Block a user