Browse Source

Add minor modifications.

pull/191/merge
Eusebiu Marcu 15 years ago
parent
commit
46010ddac6
  1. 2
      Debugger/ILSpy.Debugger/AvalonEdit/IconBarMargin.cs
  2. 2
      ILSpy/MainWindow.xaml.cs

2
Debugger/ILSpy.Debugger/AvalonEdit/IconBarMargin.cs

@ -231,7 +231,7 @@ namespace ILSpy.Debugger.AvalonEdit @@ -231,7 +231,7 @@ namespace ILSpy.Debugger.AvalonEdit
BookmarkBase bm = GetBookmarkFromLine(line);
if (bm != null) {
bm.MouseUp(e);
if (CurrentType != null) {
if (bm.CanToggle) {
BookmarkManager.RemoveMark(bm);
}
InvalidateVisual();

2
ILSpy/MainWindow.xaml.cs

@ -537,7 +537,7 @@ namespace ICSharpCode.ILSpy @@ -537,7 +537,7 @@ namespace ICSharpCode.ILSpy
void LanguageComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
DebuggerService.CurrentDebugger.Language =
sessionSettings.FilterSettings.Language.Name == "IL" ? DecompiledLanguages.IL : DecompiledLanguages.CSharp;
sessionSettings.FilterSettings.Language.Name.StartsWith("IL") ? DecompiledLanguages.IL : DecompiledLanguages.CSharp;
}
}
}
Loading…
Cancel
Save