Commits

Mark Heath committed 91da230

Attempted fix to ViewModel that doesn't work

  • Participants
  • Parent commits dded972

Comments (0)

Files changed (1)

File ModularWPFTest/MainWindowViewModel.cs

                     if (selectedModule == null || selectedModule.CanExit)
                     {
                         selectedModule = value;
-                        RaisePropertyChanged("SelectedModule");
-                        RaisePropertyChanged("UserInterface");
                     }
+                    RaisePropertyChanged("SelectedModule");
+                    RaisePropertyChanged("UserInterface");
                 }
             } 
         }