Add an option to choose the default save folder for captures. Refs #335

This commit is contained in:
baldurk
2016-08-24 15:53:52 +02:00
parent 3d6214622b
commit 3e5d55d1d6
7 changed files with 317 additions and 109 deletions
+8
View File
@@ -1515,6 +1515,14 @@ namespace renderdocui.Windows
private bool PromptSaveLog()
{
try
{
saveDialog.InitialDirectory = m_Core.Config.DefaultCaptureSaveDirectory;
}
catch (Exception)
{
}
DialogResult res = saveDialog.ShowDialog();
if (res == DialogResult.OK)