Changeset 1896
- Timestamp:
- 05/26/09 12:54:36 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure.GUI/ManagerForm.cs
r1394 r1896 748 748 List<PluginAction> involvingActions = GetActionsInvolving(tag); 749 749 750 if(tag.State == PluginState.Upgradeable || (involvingActions.Count > 0 && involvingActions[0].Action == ManagerAction.Remove)) { 750 if((tag.State == PluginState.Upgradeable) || 751 (involvingActions.Count > 0 && involvingActions[0].Action == ManagerAction.Remove && tag.State != PluginState.Available)) { 751 752 tag.Plugin.Files.ForEach(delegate(string filename) { 752 753 File.Delete(filename); … … 778 779 List<PluginAction> actionsInvolving = GetActionsInvolving(tag); 779 780 780 if(tag.State == PluginState.Upgradeable || (actionsInvolving.Count > 0 && actionsInvolving[0].Action == ManagerAction.Remove)) { 781 if((tag.State == PluginState.Upgradeable) || 782 (actionsInvolving.Count > 0 && actionsInvolving[0].Action == ManagerAction.Remove && tag.State != PluginState.Available)) { 781 783 tag.Plugin.Files.ForEach(delegate(string filename) { 782 784 File.Copy(filename, backupDir + filename.Remove(0, pluginDir.Length));
Note: See TracChangeset
for help on using the changeset viewer.