Ignore:
Timestamp:
09/26/08 11:50:02 (14 years ago)
Author:
gkronber
Message:

fixed #281 (Delete button doesn't work in PluginManager GUI)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure.GUI/ManagerForm.cs

    r140 r600  
    10021002    }
    10031003
    1004     private void pluginTreeView_KeyPress(object sender, KeyPressEventArgs e) {
     1004    private void pluginTreeView_KeyDown(object sender, KeyEventArgs e) {
    10051005      e.Handled = true;
    1006       if(e.KeyChar == 'i' && installButton.Enabled) {
     1006      e.SuppressKeyPress = true;
     1007      if(e.KeyData == Keys.I && installButton.Enabled) {
    10071008        installButton_Clicked(sender, e);
    1008       } else if(e.KeyChar == 'd' && deleteButton.Enabled) {
     1009      } else if((e.KeyData == Keys.D || e.KeyData==Keys.Delete) && deleteButton.Enabled) {
    10091010        removeButton_Clicked(sender, e);
    10101011      }
Note: See TracChangeset for help on using the changeset viewer.