Made changes to prevent two settings-scenarios that brick the app.

This commit is contained in:
david-sway
2022-01-18 11:00:58 -05:00
parent 2f3a03eab7
commit ab3d85b089
2 changed files with 4 additions and 3 deletions

View File

@@ -48,8 +48,9 @@ namespace mRemoteNG.UI.Tabs
set
{
currentPanel = value;
Runtime.MessageCollector.AddMessage(Messages.MessageClass.DebugMsg,
"Panel got focused: " + currentPanel.TabText);
//Disabled due to interaction with popups that would show this information and cause a softlock
//Runtime.MessageCollector.AddMessage(Messages.MessageClass.DebugMsg,
// "Panel got focused: " + currentPanel.TabText);
}
}
}

View File

@@ -141,7 +141,7 @@ namespace mRemoteNG.UI.Window
new RootNodeExpander()
};
if (Settings.Default.OpenConsFromLastSession && !Settings.Default.NoReconnect)
if (Settings.Default.OpenConsFromLastSession && !Settings.Default.NoReconnect && !Settings.Default.AlwaysShowPanelSelectionDlg)
actions.Add(new PreviousSessionOpener(Runtime.ConnectionInitiator));
ConnectionTree.PostSetupActions = actions;