From 5297b0b322e8fc33a97d0d40db8a1c416e65a281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ku=C4=8Dera?= Date: Fri, 10 Oct 2025 12:10:31 +0100 Subject: [PATCH] List name first in ILSpy title for multiple instance --- ILSpy/AssemblyTree/AssemblyTreeModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ILSpy/AssemblyTree/AssemblyTreeModel.cs b/ILSpy/AssemblyTree/AssemblyTreeModel.cs index c201179c1..7f2829e03 100644 --- a/ILSpy/AssemblyTree/AssemblyTreeModel.cs +++ b/ILSpy/AssemblyTree/AssemblyTreeModel.cs @@ -469,9 +469,9 @@ namespace ICSharpCode.ILSpy.AssemblyTree #endif else #if DEBUG - mainWindow.Title = $"ILSpy {DecompilerVersionInfo.FullVersion} - " + assemblyList.ListName; + mainWindow.Title = string.Format(settingsService.MiscSettings.AllowMultipleInstances ? "{1} - {0}" : "{0} - {1}", $"ILSpy {DecompilerVersionInfo.FullVersion}", assemblyList.ListName); #else - mainWindow.Title = "ILSpy - " + assemblyList.ListName; + mainWindow.Title = string.Format(settingsService.MiscSettings.AllowMultipleInstances ? "{1} - {0}" : "{0} - {1}", "ILSpy", assemblyList.ListName); #endif }