Ignore:
Timestamp:
Aug 24, 2010, 10:09:58 PM (11 years ago)
Author:
malischewski
Message:

Entropy switch visibility bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/CostFunction/CostFunctionSettings.cs

    r1868 r1869  
    202202            if (functionType.Equals(1))
    203203            {
    204                 TaskPaneAttributeChanged(this, new TaskPaneAttributeChangedEventArgs(new TaskPaneAttribteContainer("entropyselect", Visibility.Visible)));
    205             }
    206             else
    207             {
    208                 TaskPaneAttributeChanged(this, new TaskPaneAttributeChangedEventArgs(new TaskPaneAttribteContainer("entropyselect", Visibility.Collapsed)));
     204                TaskPaneAttributeChanged(this, new TaskPaneAttributeChangedEventArgs(new TaskPaneAttribteContainer("entropy", Visibility.Visible)));
     205            }
     206            else
     207            {
     208                TaskPaneAttributeChanged(this, new TaskPaneAttributeChangedEventArgs(new TaskPaneAttribteContainer("entropy", Visibility.Collapsed)));
    209209            }
    210210        }
Note: See TracChangeset for help on using the changeset viewer.