File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -558,24 +558,26 @@ private void UnresolveDependencies(Mod dependent)
558
558
559
559
private void ModCheckBox_Checked ( object sender , RoutedEventArgs e )
560
560
{
561
- Mod mod = ( ( sender as System . Windows . Controls . CheckBox ) . Tag as Mod ) ;
561
+ Mod mod = ( sender as System . Windows . Controls . CheckBox ) . Tag as Mod ;
562
562
mod . ListItem . IsSelected = true ;
563
563
ResolveDependencies ( mod ) ;
564
564
App . SavedMods . Add ( mod . name ) ;
565
565
Properties . Settings . Default . SavedMods = string . Join ( "," , App . SavedMods . ToArray ( ) ) ;
566
566
Properties . Settings . Default . Save ( ) ;
567
- RefreshModsList ( ) ;
567
+
568
+ // RefreshModsList();
568
569
}
569
570
570
571
private void ModCheckBox_Unchecked ( object sender , RoutedEventArgs e )
571
572
{
572
- Mod mod = ( ( sender as System . Windows . Controls . CheckBox ) . Tag as Mod ) ;
573
+ Mod mod = ( sender as System . Windows . Controls . CheckBox ) . Tag as Mod ;
573
574
mod . ListItem . IsSelected = false ;
574
575
UnresolveDependencies ( mod ) ;
575
576
App . SavedMods . Remove ( mod . name ) ;
576
577
Properties . Settings . Default . SavedMods = string . Join ( "," , App . SavedMods . ToArray ( ) ) ;
577
578
Properties . Settings . Default . Save ( ) ;
578
- RefreshModsList ( ) ;
579
+
580
+ // RefreshModsList();
579
581
}
580
582
581
583
public class Category
You can’t perform that action at this time.
0 commit comments