You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Gui/ViewModels/LocoTypes/BaseFileViewModel.cs
+26-2Lines changed: 26 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -111,7 +111,14 @@ async Task SaveWrapper()
111
111
// note - this is the DAT file source, not the true source...
112
112
if(CurrentFile.ObjectSourceisObjectSource.LocomotionSteam or ObjectSource.LocomotionGoG)
113
113
{
114
-
varbox=MessageBoxManager.GetMessageBoxStandard("Confirm Save",$"{CurrentFile.FileName} is a vanilla Locomotion file - are you sure you want to overwrite it?",ButtonEnum.YesNo);
114
+
varmsbParams=GetDefaultParams();
115
+
msbParams.ContentTitle="Confirm Save";
116
+
msbParams.ContentMessage=$"{CurrentFile.FileName} is a vanilla Locomotion file - are you sure you want to overwrite it?";
<ButtonMargin="4"Padding="2"HorizontalAlignment="Right"Classes="danger"Command="{Binding DeleteLocalFileCommand}" DockPanel.Dock="Right"HotKey="Ctrl+D"IsEnabled="{Binding IsLocalMode}"IsVisible="{Binding IsLocalMode}" ToolTip.Tip="(Ctrl+D) WARNING: this will delete your local file without asking! Only click this if you're sure you want to delete this file!">
281
+
<ButtonMargin="4"Padding="2"HorizontalAlignment="Right"Classes="danger"Command="{Binding DeleteLocalFileCommand}" DockPanel.Dock="Right"HotKey="Ctrl+D"IsEnabled="{Binding IsLocalMode}"IsVisible="{Binding IsLocalMode}" ToolTip.Tip="(Ctrl+D) WARNING: this will delete your local file! Only click this if you're sure you want to delete this file!">
0 commit comments