Browse Source

List name first in ILSpy title for multiple instance

pull/3589/head
Jan Kučera 3 months ago
parent
commit
5297b0b322
  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