GUI: Provide default output filenames

This commit is contained in:
Katy Coe
2020-02-10 08:04:34 +01:00
parent dcd9564668
commit 8af51cad29

View File

@@ -286,6 +286,7 @@ namespace Il2CppInspectorGUI
}; };
var saveFileDialog = new SaveFileDialog { var saveFileDialog = new SaveFileDialog {
Filter = "C# source files (*.cs)|*.cs|All files (*.*)|*.*", Filter = "C# source files (*.cs)|*.cs|All files (*.*)|*.*",
FileName = "types.cs",
CheckFileExists = false, CheckFileExists = false,
OverwritePrompt = true OverwritePrompt = true
}; };
@@ -343,6 +344,7 @@ namespace Il2CppInspectorGUI
var scriptSaveFileDialog = new SaveFileDialog { var scriptSaveFileDialog = new SaveFileDialog {
Filter = "Python scripts (*.py)|*.py|All files (*.*)|*.*", Filter = "Python scripts (*.py)|*.py|All files (*.*)|*.*",
FileName = "ida.py",
CheckFileExists = false, CheckFileExists = false,
OverwritePrompt = true OverwritePrompt = true
}; };