Skip to content

Commit

Permalink
OWTable: Don't set selection when there is no data on input
Browse files Browse the repository at this point in the history
  • Loading branch information
rokgomiscek committed Mar 22, 2019
1 parent 9b3ba89 commit 043af47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Orange/widgets/data/owtable.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,8 @@ def update(f):
self.__pending_selected_cols = None
else:
self.selected_cols = []

self.set_selection()
if data is not None:
self.set_selection()
self.commit()

def _setup_table_view(self, view, data):
Expand Down

0 comments on commit 043af47

Please sign in to comment.