Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 46457f4

Browse files
authored
Merge pull request biolab#6404 from ales-erjavec/owtable-remove-multiple-connections
[FIX] owtable: Remove multiple connections to 'selectionFinished'
2 parents e88fc32 + 13a0610 commit 46457f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Orange/widgets/data/owtable.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def __init__(self):
133133
)
134134
view.setSortingEnabled(True)
135135
view.setItemDelegate(TableDataDelegate(view))
136+
view.selectionFinished.connect(self.update_selection)
136137

137138
if self.select_rows:
138139
view.setSelectionBehavior(QTableView.SelectRows)
@@ -250,7 +251,6 @@ def _setup_table_view(self):
250251

251252
# update the header (attribute names)
252253
self._update_variable_labels()
253-
view.selectionFinished.connect(self.update_selection)
254254

255255
def _update_input_summary(self):
256256
def format_summary(summary):

0 commit comments

Comments
 (0)