Skip to content

Commit

Permalink
actual fix for timepoints control
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon committed Sep 28, 2023
1 parent e7e30cb commit c419411
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,15 @@ private void createUserInterface() {

// TODO: update duration labels
private void createEventHandlers() {
final DefaultAcquisitionSettingsDISPIM.Builder asb =
model_.acquisitions().settingsBuilder();

spnNumTimePoints_.registerListener(e -> {
asb.numTimePoints(spnNumTimePoints_.getInt());
model_.acquisitions().settingsBuilder().numTimePoints(spnNumTimePoints_.getInt());
//updateDurationLabels();
//System.out.println("getNumTimePoints: " + model_.acquisitions().getAcquisitionSettings().getNumTimePoints());
});

spnTimePointInterval_.registerListener(e -> {
asb.timePointInterval(spnTimePointInterval_.getInt());
model_.acquisitions().settingsBuilder().timePointInterval(spnTimePointInterval_.getInt());
//updateDurationLabels();
//System.out.println("getTimePointInterval: " + model_.acquisitions().getAcquisitionSettings().getTimePointInterval());
});
Expand Down

0 comments on commit c419411

Please sign in to comment.