mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-12 04:50:35 +00:00
Fix loading settings not working with the working-dir hint
This commit is contained in:
@@ -58,10 +58,14 @@ namespace renderdocui.Windows.Dialogs
|
||||
{
|
||||
InjectMode = settings.Inject;
|
||||
|
||||
workDirPath_Enter(null, null);
|
||||
|
||||
exePath.Text = settings.Executable;
|
||||
workDirPath.Text = settings.WorkingDir;
|
||||
cmdline.Text = settings.CmdLine;
|
||||
|
||||
workDirPath_Leave(null, null);
|
||||
|
||||
AllowFullscreen.Checked = settings.Options.AllowFullscreen;
|
||||
AllowVSync.Checked = settings.Options.AllowVSync;
|
||||
CacheStateObjects.Checked = settings.Options.CacheStateObjects;
|
||||
@@ -74,8 +78,6 @@ namespace renderdocui.Windows.Dialogs
|
||||
DelayForDebugger.Value = settings.Options.DelayForDebugger;
|
||||
AutoStart.Checked = settings.AutoStart;
|
||||
|
||||
UpdateWorkDirHint();
|
||||
|
||||
if (settings.AutoStart)
|
||||
{
|
||||
TriggerCapture();
|
||||
|
||||
Reference in New Issue
Block a user