Skip to content

Commit

Permalink
Update v3.0.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunaretic committed Jun 30, 2024
2 parents 66410c4 + a21721e commit 1138d3f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion FFXIV_TexTools/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<value>False</value>
</setting>
<setting name="UseOriginalShapeDataForFace" serializeAs="String">
<value>True</value>
<value>False</value>
</setting>
<setting name="Default_Modpack_Url" serializeAs="String">
<value />
Expand Down
4 changes: 2 additions & 2 deletions FFXIV_TexTools/FFXIV_TexTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
<AssemblyTitle>FFXIV_TexTools</AssemblyTitle>
<Product>FFXIV_TexTools</Product>
<Copyright>Copyright © 2024</Copyright>
<AssemblyVersion>3.0.1.3</AssemblyVersion>
<FileVersion>3.0.1.3</FileVersion>
<AssemblyVersion>3.0.1.4</AssemblyVersion>
<FileVersion>3.0.1.4</FileVersion>
<LangVersion>9.0</LangVersion>
<OutputPath>bin\$(Configuration)\</OutputPath>
<UseWPF>true</UseWPF>
Expand Down
2 changes: 1 addition & 1 deletion FFXIV_TexTools/Properties/Settings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion FFXIV_TexTools/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="UseOriginalShapeDataForFace" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
<Value Profile="(Default)">False</Value>
</Setting>
<Setting Name="Default_Modpack_Url" Type="System.String" Scope="User">
<Value Profile="(Default)" />
Expand Down
6 changes: 4 additions & 2 deletions FFXIV_TexTools/Views/ModListView.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
using SharpDX;
using FFXIV_TexTools.Views.Controls;
using static FFXIV_TexTools.ViewModels.ModListViewModel;
using xivModdingFramework.Helpers;

namespace FFXIV_TexTools.Views
{
Expand Down Expand Up @@ -277,12 +278,13 @@ private async void modDeleteButton_Click(object sender, RoutedEventArgs e)
return;
}

var wind = ViewHelpers.GetWin32Window(this);
await LockUi("Deleting Mod".L(), "Please wait...".L(), this);
try
{
if ((ModListTreeView.SelectedItem as Category).ParentCategory.Name.Equals("ModPacks"))
{
if (FlexibleMessageBox.Show(
if (FlexibleMessageBox.Show(wind,
UIMessages.DeleteModPackMessage,
UIMessages.DeleteModPackTitle,
MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == System.Windows.Forms.DialogResult.Yes)
Expand All @@ -306,7 +308,7 @@ private async void modDeleteButton_Click(object sender, RoutedEventArgs e)
}
catch (Exception Ex)
{
FlexibleMessageBox.Show("Unable to delete Mod or Modpack.\n\nError: ".L() + Ex.Message, "Mod Delete Error".L(), MessageBoxButtons.OK, MessageBoxIcon.Error);
FlexibleMessageBox.Show(wind,"Unable to delete Mod or Modpack.\n\nError: ".L() + Ex.Message, "Mod Delete Error".L(), MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally {
await UnlockUi(this);
Expand Down

0 comments on commit 1138d3f

Please sign in to comment.