Commit 6e34166d authored by pieper's avatar pieper
Browse files

BUG: use correct signal for QAction

Since this is a QAction not a QPushButton, use
triggered instead of clicked.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21525 3bd1e089-480b-0410-8dfb-8563597acbee
parent 7fa89eb0
...@@ -241,7 +241,7 @@ class DICOMWidget: ...@@ -241,7 +241,7 @@ class DICOMWidget:
# for our purposes - TODO: fix this to enable it at the ctkDICOM level # for our purposes - TODO: fix this to enable it at the ctkDICOM level
self.sendButton = slicer.util.findChildren(self.dicomApp, text='Send')[0] self.sendButton = slicer.util.findChildren(self.dicomApp, text='Send')[0]
self.sendButton.enabled = False self.sendButton.enabled = False
self.sendButton.connect('clicked()', self.onSendClicked) self.sendButton.connect('triggered()', self.onSendClicked)
# the recent activity frame # the recent activity frame
self.activityFrame = ctk.ctkCollapsibleButton(self.parent) self.activityFrame = ctk.ctkCollapsibleButton(self.parent)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment