mirror of
https://github.com/Stone-Red-Code/DesktopMagic.git
synced 2026-09-04 00:46:12 +02:00
Fix plugin manager crash when opening it
This commit is contained in:
@@ -48,8 +48,6 @@ public partial class PluginManager : Window
|
|||||||
|
|
||||||
public PluginManager()
|
public PluginManager()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
|
||||||
|
|
||||||
Resources.MergedDictionaries.Add(App.LanguageDictionary);
|
Resources.MergedDictionaries.Add(App.LanguageDictionary);
|
||||||
|
|
||||||
string? modIoAccessToken = MainWindowDataContext.GetSettings().ModIoAccessToken;
|
string? modIoAccessToken = MainWindowDataContext.GetSettings().ModIoAccessToken;
|
||||||
@@ -64,6 +62,8 @@ public partial class PluginManager : Window
|
|||||||
pluginManagerDataContext.IsAuthenticated = true;
|
pluginManagerDataContext.IsAuthenticated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
DataContext = pluginManagerDataContext;
|
DataContext = pluginManagerDataContext;
|
||||||
searchTimer.Tick += async (sender, e) =>
|
searchTimer.Tick += async (sender, e) =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user