From 3cd405e9ea40600c46201d09dbaed74a9f6f7a29 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Fri, 20 May 2016 22:20:41 +0100 Subject: [PATCH] fix #628 --- Wox/App.xaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wox/App.xaml.cs b/Wox/App.xaml.cs index 93607f3e09..121c6c17e4 100644 --- a/Wox/App.xaml.cs +++ b/Wox/App.xaml.cs @@ -42,8 +42,6 @@ namespace Wox { RegisterDispatcherUnhandledException(); - ImageLoader.PreloadImages(); - var storage = new JsonStrorage(); _settings = storage.Load(); @@ -53,6 +51,8 @@ namespace Wox API = new PublicAPIInstance(_settings, vm); PluginManager.InitializePlugins(API); + ImageLoader.PreloadImages(); + Current.MainWindow = window; Current.MainWindow.Title = Infrastructure.Constant.Wox;