Skip to content

Commit

Permalink
Load word lists after loading configs
Browse files Browse the repository at this point in the history
  • Loading branch information
hlysine committed Nov 28, 2021
1 parent 85f6a41 commit 0b2ed06
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions QuickDictionary/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,6 @@ private async void Window_SourceInitialized(object sender, EventArgs e)
Keyboard.Focus(txtWord);
txtWord.Focus();

await WordListManager.LoadAllLists();

Dictionaries.Add(Dictionary.CambridgeCE);
Dictionaries.Add(Dictionary.MedicalDictionary);
Dictionaries.Add(Dictionary.OxfordLearnersDict);
Expand All @@ -438,6 +436,8 @@ private async void Window_SourceInitialized(object sender, EventArgs e)

Config.LoadConfig();

await WordListManager.LoadAllLists();

foreach (string dict in Config.SelectedDictionaries)
{
Dictionary d = Dictionaries.FirstOrDefault(x => x.Name == dict);
Expand Down
4 changes: 2 additions & 2 deletions QuickDictionary/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,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.5.5.0")]
[assembly: AssemblyFileVersion("1.5.5.0")]
[assembly: AssemblyVersion("1.5.6.0")]
[assembly: AssemblyFileVersion("1.5.6.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.5.5.0</ApplicationVersion>
<ApplicationVersion>1.5.6.0</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
</PropertyGroup>
Expand Down

0 comments on commit 0b2ed06

Please sign in to comment.