Browse Source

Merge pull request #3589 from miloush/master

List name first in ILSpy title for multiple instances
pull/3592/head
Christoph Wille 3 months ago committed by GitHub
parent
commit
8b1fb633f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      ILSpy/AssemblyTree/AssemblyTreeModel.cs

4
ILSpy/AssemblyTree/AssemblyTreeModel.cs

@ -469,9 +469,9 @@ namespace ICSharpCode.ILSpy.AssemblyTree @@ -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
}

Loading…
Cancel
Save