Skip to content

Commit

Permalink
force re-evaluation of ICommands after adding/removing projects to so…
Browse files Browse the repository at this point in the history
…lution, fixes #73
  • Loading branch information
thoemmi committed Nov 11, 2013
1 parent 3f020e8 commit 109159a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Solutionizer.Framework/PropertyChangedBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
using System.ComponentModel;
using System.Linq.Expressions;
using System.Reflection;
using System.Windows.Input;

namespace Solutionizer.Framework {
public abstract class PropertyChangedBase : INotifyPropertyChanged {
public event PropertyChangedEventHandler PropertyChanged;

protected void Refresh() {
CommandManager.InvalidateRequerySuggested();
NotifyOfPropertyChange(String.Empty);
}

Expand Down

0 comments on commit 109159a

Please sign in to comment.