Skip to content

Commit

Permalink
Merge pull request #332 from JunAishima/2023-3-amxfmx
Browse files Browse the repository at this point in the history
Trigger calcLifetimeCB only if on FMX
  • Loading branch information
vshekar authored Sep 28, 2023
2 parents 47c98ac + 248c920 commit 239fc4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gui/control_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,8 @@ def createSampleTab(self):
self.osc_end_ledit.textChanged[str].connect(
functools.partial(self.totalExpChanged, "oscEnd")
)
self.osc_end_ledit.textChanged.connect(self.calcLifetimeCB)
if daq_utils.beamline == "fmx":
self.osc_end_ledit.textChanged.connect(self.calcLifetimeCB)
hBoxColParams1.addWidget(colStartLabel)
hBoxColParams1.addWidget(self.osc_start_ledit)
hBoxColParams1.addWidget(self.colEndLabel)
Expand Down

0 comments on commit 239fc4c

Please sign in to comment.