mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
moved Config window localization into the ctor
This commit is contained in:
@@ -283,6 +283,7 @@ namespace mRemoteNG.UI.Window
|
||||
WindowType = WindowType.Config;
|
||||
DockPnl = panel;
|
||||
InitializeComponent();
|
||||
ApplyLanguage();
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -685,7 +686,6 @@ namespace mRemoteNG.UI.Window
|
||||
|
||||
private void Config_Load(object sender, EventArgs e)
|
||||
{
|
||||
ApplyLanguage();
|
||||
_themeManager = ThemeManager.getInstance();
|
||||
_themeManager.ThemeChanged += ApplyTheme;
|
||||
ApplyTheme();
|
||||
|
||||
Reference in New Issue
Block a user