Skip to content

Commit 9a67b77

Browse files
authored
Merge pull request #774 from nicost/Callback
CoreCallback: No longer check if a config group has more than 1 property before sending the ConfigGroupChanged callback.
2 parents c54993b + 788ca95 commit 9a67b77

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

‎MMCore/CoreCallback.cpp‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,7 @@ int CoreCallback::OnPropertyChanged(const MM::Device* device, const char* propNa
437437
{
438438
Configuration config =
439439
core_->getConfigData((*it).c_str(), (*itc).c_str());
440-
// only callback when there is more than 1 property in a group
441-
// This is needed, since the UI treats groups with one
442-
// property differently, whereas the core does not....
443-
if (config.size() > 1 && config.isPropertyIncluded(label, propName)) {
440+
if (config.isPropertyIncluded(label, propName)) {
444441
found = true;
445442
// If we are part of this configuration, notify that it
446443
// was changed. Get the new config from cache rather

0 commit comments

Comments
 (0)