Skip to content

Commit

Permalink
Merge pull request #155 from bls337/main
Browse files Browse the repository at this point in the history
actual fix for timepoints control
  • Loading branch information
bls337 authored Sep 28, 2023
2 parents e7e30cb + c419411 commit 6f3c2a3
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 6f3c2a3

Please sign in to comment.