Skip to content

Commit

Permalink
Export file use of startindex
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverfeelin committed Oct 8, 2016
1 parent 35958b2 commit 3227320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AnimatedSigns/AnimatedSigns/MainWindow.xaml.cs
Expand Up @@ -380,7 +380,7 @@ private void SignWorker_CompletedExports(object sender, System.ComponentModel.Ru
JObject sign = signs[i, j];
if (sign == null) continue;

string signPath = string.Format("{0}\\{1} [{2},{3}].json", path.FullName, name, i, j);
string signPath = string.Format("{0}\\{1} [{2},{3}].json", path.FullName, name, i + template.StartIndex, j + template.StartIndex);
if (File.Exists(signPath))
{
MessageBoxResult mbr = MessageBox.Show("File '" + signPath + "' already exists. Do you want to overwrite it?", "Warning", MessageBoxButton.YesNoCancel);
Expand Down

0 comments on commit 3227320

Please sign in to comment.