Fix display of welcome screen.
- Repariert: Willkommensdialog mit der Auswahl des Modus wurde technisch nicht gut angezeigt.
This commit is contained in:
parent
dc6e1f9eaf
commit
cc0573c326
@ -26,6 +26,7 @@ using System.Windows.Input;
|
|||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Configuration;
|
using System.Configuration;
|
||||||
|
using System.Windows.Threading;
|
||||||
|
|
||||||
namespace zaaReloaded2
|
namespace zaaReloaded2
|
||||||
{
|
{
|
||||||
@ -89,7 +90,12 @@ namespace zaaReloaded2
|
|||||||
Updater.Version.Current.ToString()
|
Updater.Version.Current.ToString()
|
||||||
);
|
);
|
||||||
|
|
||||||
ViewModels.FirstRunViewModel.InjectIntoIfNeeded<Views.FirstRunView>();
|
_dispatcher = Dispatcher.CurrentDispatcher;
|
||||||
|
System.Threading.Timer timer = new System.Threading.Timer((obj) =>
|
||||||
|
{
|
||||||
|
_dispatcher.Invoke((Action)(() => ViewModels.FirstRunViewModel.InjectIntoIfNeeded<Views.FirstRunView>()), null);
|
||||||
|
|
||||||
|
}, null, 1000, System.Threading.Timeout.Infinite);
|
||||||
Logger.Info("ThisAddIn_Startup: Finished startup");
|
Logger.Info("ThisAddIn_Startup: Finished startup");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -184,6 +190,7 @@ namespace zaaReloaded2
|
|||||||
Ribbon _ribbon;
|
Ribbon _ribbon;
|
||||||
string _oldCaption;
|
string _oldCaption;
|
||||||
UpdaterViewModel _updaterVM;
|
UpdaterViewModel _updaterVM;
|
||||||
|
Dispatcher _dispatcher;
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user