Fix loading settings not working with the working-dir hint

This commit is contained in:
baldurk
2014-09-06 16:28:34 +01:00
parent 982b32cc5e
commit 4d05273bc1
+4 -2
View File
@@ -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();