mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Decided on commenting out the CreatePanels() / SetDefaultLayout() in frmMain rather than in LayoutSettingsLoader.
If we keep these methods in frmMain and remove in LayoutSettingsLoader, we will overwrite any custom layout loaded.
This commit is contained in:
@@ -167,9 +167,9 @@ namespace mRemoteNG.UI.Forms
|
||||
Startup.LogStartupData();
|
||||
|
||||
//Runtime.Startup.CheckCompatibility();
|
||||
|
||||
// Create gui config load and save objects
|
||||
SettingsLoader settingsLoader = new SettingsLoader(this);
|
||||
|
||||
// Create gui config load and save objects
|
||||
SettingsLoader settingsLoader = new SettingsLoader(this);
|
||||
settingsLoader.LoadSettings();
|
||||
|
||||
Debug.Print("---------------------------" + Environment.NewLine + "[START] - " + Convert.ToString(DateTime.Now));
|
||||
@@ -181,9 +181,9 @@ namespace mRemoteNG.UI.Forms
|
||||
fpChainedWindowHandle = Native.SetClipboardViewer(this.Handle);
|
||||
Runtime.MessageCollector = new MessageCollector(Windows.errorsForm);
|
||||
Runtime.WindowList = new WindowList();
|
||||
Startup.CreatePanels();
|
||||
Startup.SetDefaultLayout();
|
||||
IeBrowserEmulation.Register();
|
||||
//Startup.CreatePanels();
|
||||
//Startup.SetDefaultLayout();
|
||||
IeBrowserEmulation.Register();
|
||||
Startup.GetConnectionIcons();
|
||||
Windows.treePanel.Focus();
|
||||
ConnectionTree.TreeView = Windows.treeForm.tvConnections;
|
||||
|
||||
Reference in New Issue
Block a user