Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Source/UI/AnalogIOInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ void AnalogIOInterface::setInterfaceEnabledState(bool newState)
if (channelDirectionComboBoxes[i] != nullptr)
channelDirectionComboBoxes[i]->setEnabled(newState);
}

if (saveSettingsButton != nullptr)
saveSettingsButton->setEnabled(newState);

if (loadSettingsButton != nullptr)
loadSettingsButton->setEnabled(newState);
}

void AnalogIOInterface::updateSettings()
Expand Down
6 changes: 6 additions & 0 deletions Source/UI/NeuropixelsV1Interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,12 @@ void NeuropixelsV1Interface::setInterfaceEnabledState(bool enabledState)

if (gainCalibrationFileButton != nullptr)
gainCalibrationFileButton->setEnabled(enabledState);

if (saveSettingsButton != nullptr)
saveSettingsButton->setEnabled(enabledState);

if (loadSettingsButton != nullptr)
loadSettingsButton->setEnabled(enabledState);
}

void NeuropixelsV1Interface::startAcquisition()
Expand Down
6 changes: 6 additions & 0 deletions Source/UI/NeuropixelsV2eProbeInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,12 @@ void NeuropixelsV2eProbeInterface::setInterfaceEnabledState(bool enabledState)

if (gainCorrectionFileButton != nullptr)
gainCorrectionFileButton->setEnabled(enabledState);

if (saveSettingsButton != nullptr)
saveSettingsButton->setEnabled(enabledState);

if (loadSettingsButton != nullptr)
loadSettingsButton->setEnabled(enabledState);
}

void NeuropixelsV2eProbeInterface::startAcquisition()
Expand Down
6 changes: 6 additions & 0 deletions Source/UI/OutputClockInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ void OutputClockInterface::setInterfaceEnabledState(bool newState)

if (gateRunButton != nullptr)
gateRunButton->setEnabled(newState);

if (saveSettingsButton != nullptr)
saveSettingsButton->setEnabled(newState);

if (loadSettingsButton != nullptr)
loadSettingsButton->setEnabled(newState);
}

void OutputClockInterface::updateSettings()
Expand Down