Browse Source

Fix navigate backward/forward buttons sometimes not updating their enabled state.

pull/28/head
Daniel Grunwald 13 years ago
parent
commit
3e5aebd1ac
  1. 2
      src/Main/Base/Project/Src/Services/NavigationService/NavigationService.cs

2
src/Main/Base/Project/Src/Services/NavigationService/NavigationService.cs

@ -3,6 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Windows.Input;
using ICSharpCode.Core; using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Gui; using ICSharpCode.SharpDevelop.Gui;
using ICSharpCode.SharpDevelop.Project; using ICSharpCode.SharpDevelop.Project;
@ -443,6 +444,7 @@ namespace ICSharpCode.SharpDevelop
if (HistoryChanged!=null) { if (HistoryChanged!=null) {
HistoryChanged(NavigationService.CurrentPosition, EventArgs.Empty); HistoryChanged(NavigationService.CurrentPosition, EventArgs.Empty);
} }
CommandManager.InvalidateRequerySuggested();
} }
#endregion #endregion

Loading…
Cancel
Save