Consolidate debug log messages to single line

Co-authored-by: Kvarkas <3611964+Kvarkas@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-10-18 21:29:29 +00:00
parent 8e4627c872
commit c72bd2a107

View File

@@ -368,8 +368,7 @@ namespace mRemoteNG.UI.Window
var currentIndex = Array.IndexOf(documents, connDock.ActiveContent);
if (currentIndex == -1)
{
Runtime.MessageCollector.AddMessage(MessageClass.DebugMsg,
"NavigateToNextTab: ActiveContent not found in documents array");
Runtime.MessageCollector.AddMessage(MessageClass.DebugMsg, "NavigateToNextTab: ActiveContent not found in documents array");
return;
}
@@ -392,8 +391,7 @@ namespace mRemoteNG.UI.Window
var currentIndex = Array.IndexOf(documents, connDock.ActiveContent);
if (currentIndex == -1)
{
Runtime.MessageCollector.AddMessage(MessageClass.DebugMsg,
"NavigateToPreviousTab: ActiveContent not found in documents array");
Runtime.MessageCollector.AddMessage(MessageClass.DebugMsg, "NavigateToPreviousTab: ActiveContent not found in documents array");
return;
}