Parametrize script extension, default to 'tscript'

This commit is contained in:
Lukas Aldershaab 2020-12-12 16:54:16 +01:00
parent b8b62292bd
commit 099dd4f1f3
542 changed files with 774 additions and 783 deletions

View file

@ -21,7 +21,7 @@
//-----------------------------------------------------------------------------
$GUI_EDITOR_DEFAULT_PROFILE_FILENAME = "art/gui/customProfiles.cs";
$GUI_EDITOR_DEFAULT_PROFILE_FILENAME = "art/gui/customProfiles.tscript";
$GUI_EDITOR_DEFAULT_PROFILE_CATEGORY = "Other";
@ -127,7 +127,7 @@ function GuiEditor::deleteProfile( %this, %profile )
function GuiEditor::showSaveProfileDialog( %this, %currentFileName )
{
getSaveFileName( "TorqueScript Files|*.cs", %this @ ".doSaveProfile", %currentFileName );
getSaveFileName( "TorqueScript Files|*.tscript", %this @ ".doSaveProfile", %currentFileName );
}
//---------------------------------------------------------------------------------------------