Merge pull request #3143 from jcefoli/v1.78.2-dev

AlwaysShowPanelTabs Setting Not Respected at Application…
This commit is contained in:
Dimitrij
2026-02-14 23:50:44 +00:00
committed by GitHub
2 changed files with 2 additions and 7 deletions

View File

@@ -55,7 +55,6 @@ namespace mRemoteNG.Config.Settings
SetShowSystemTrayIcon();
SetAutoSave();
LoadExternalAppsFromXml();
SetAlwaysShowPanelTabs();
if (Properties.App.Default.ResetToolbars)
SetToolbarsDefault();
@@ -68,12 +67,6 @@ namespace mRemoteNG.Config.Settings
}
}
private static void SetAlwaysShowPanelTabs()
{
if (Properties.OptionsTabsPanelsPage.Default.AlwaysShowPanelTabs)
FrmMain.Default.pnlDock.DocumentStyle = DocumentStyle.DockingWindow;
}
private void SetSupportedCulture()
{

View File

@@ -234,6 +234,8 @@ namespace mRemoteNG.UI.Forms
else
SetLayout();
ShowHidePanelTabs();
Runtime.ConnectionsService.ConnectionsLoaded += ConnectionsServiceOnConnectionsLoaded;
Runtime.ConnectionsService.ConnectionsSaved += ConnectionsServiceOnConnectionsSaved;