Ignore:
Timestamp:
10/07/15 16:47:17 (4 years ago)
Author:
pfleck
Message:

#2486

  • Added buttons for adding columns and rows.
  • Fixed a bug with row names.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.DataPreprocessing/3.4/Implementations/TransactionalPreprocessingData.cs

    r12983 r12986  
    225225      if (!IsInTransaction)
    226226        OnChanged(DataPreprocessingChangedEventType.DeleteRow, -1, -1);
     227      ResetPartitions();
    227228    }
    228229
     
    235236      if (!IsInTransaction)
    236237        OnChanged(DataPreprocessingChangedEventType.AddRow, -1, rowIndex);
     238      ResetPartitions();
    237239    }
    238240
     
    244246      if (!IsInTransaction)
    245247        OnChanged(DataPreprocessingChangedEventType.DeleteRow, -1, rowIndex);
     248      ResetPartitions();
    246249    }
    247250
     
    284287    }
    285288
     289
     290    private void ResetPartitions() {
     291      TrainingPartition = new IntRange();
     292      TestPartition = new IntRange();
     293    }
    286294
    287295    #endregion
Note: See TracChangeset for help on using the changeset viewer.