We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 800b7f6 commit 0af02b7Copy full SHA for 0af02b7
src/pymmcore_widgets/_channel_group_widget.py
@@ -27,7 +27,7 @@ def __init__(
27
) -> None:
28
super().__init__(parent)
29
30
- self.setSizeAdjustPolicy(QComboBox.AdjustToContents)
+ self.setSizeAdjustPolicy(QComboBox.SizeAdjustPolicy.AdjustToContents)
31
32
self._mmc = mmcore or CMMCorePlus.instance()
33
@@ -39,7 +39,7 @@ def __init__(
39
self._mmc.events.propertyChanged.connect(self._on_property_changed)
40
self._mmc.events.configDefined.connect(self._update_channel_group_combo)
41
42
- self.currentTextChanged.connect(self._mmc.setChannelGroup)
+ self.textActivated.connect(self._mmc.setChannelGroup)
43
44
self.destroyed.connect(self._disconnect)
45
0 commit comments