Skip to content

Commit

Permalink
Fix word list creation
Browse files Browse the repository at this point in the history
  • Loading branch information
hlysine committed Mar 15, 2022
1 parent 49576ba commit e146c21
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions QuickDictionary/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.8.0.0")]
[assembly: AssemblyFileVersion("1.8.0.0")]
[assembly: AssemblyVersion("1.8.1.0")]
[assembly: AssemblyFileVersion("1.8.1.0")]
2 changes: 1 addition & 1 deletion QuickDictionary/QuickDictionary.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.8.0.0</ApplicationVersion>
<ApplicationVersion>1.8.1.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<LangVersion>default</LangVersion>
Expand Down
2 changes: 1 addition & 1 deletion QuickDictionary/UserInterface/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ private void btnNewListSave_Click(object sender, RoutedEventArgs e)
}

string listName = txtNewListName.Text;
string path = Storage.ToAbsolutePath($"{listName}.xml");
string path = Path.Combine(WordListStore.WordListFolderPath, $"{listName}.xml");
var wordlistFile = new WordListFile(path, new WordList
{ Name = listName, Created = DateTime.Now });
WordListStore.WordListFiles.Add(wordlistFile);
Expand Down

0 comments on commit e146c21

Please sign in to comment.