Skip to content

Commit

Permalink
Add title change if project mode is not "normal"
Browse files Browse the repository at this point in the history
  • Loading branch information
FrenzMcJ0hns0n committed Jun 5, 2017
1 parent 919ea5c commit 41601a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DSMI-ConfigTool/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DSMI_ConfigTool"
mc:Ignorable="d"
Title="DSMI Config Tool" Loaded="Window_Loaded"
Title="DSMI Configuration Tool" Loaded="Window_Loaded"
Height="585" Width="710"
ResizeMode="CanMinimize">
<Grid>
Expand Down
4 changes: 4 additions & 0 deletions DSMI-ConfigTool/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ public partial class MainWindow : Window {
}

if (modSupport == "normal") {

if (!(File.Exists(DSPW_INI_FILE)) || !(File.Exists(DATApath + "msvcp120.dll")) || !(File.Exists(DATApath + "msvcr120.dll"))) {
MessageBox.Show(Strings.ErrorMsg_missingFiles("Dark Souls PvP Watchdog", lang));
Environment.Exit(0);
Expand All @@ -333,6 +334,9 @@ public partial class MainWindow : Window {
Environment.Exit(0);
}
}
else {
this.Title = "DSMI Configuration Tool (minimal mode)";
}
}

private void Window_Loaded(object sender, RoutedEventArgs e) {
Expand Down

0 comments on commit 41601a4

Please sign in to comment.