Remove unused save dialog and use the proper dialog for error message

This commit is contained in:
baldurk
2017-06-02 17:56:39 +01:00
parent 0c3dec3b67
commit 922263df83
3 changed files with 1 additions and 12 deletions
+1 -1
View File
@@ -3700,7 +3700,7 @@ namespace renderdocui.Windows
});
if(!ret)
MessageBox.Show(string.Format("Error saving texture {0}.\n\nCheck diagnostic log in Help menu for more details.", saveTextureDialog.FileName),
MessageBox.Show(string.Format("Error saving texture {0}.\n\nCheck diagnostic log in Help menu for more details.", m_SaveDialog.Filename),
"Error saving texture", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}