Skip to content

Commit 3ce867f

Browse files
committed
Datasets: Remove the no longer necessary fix for unpublished files (16bbfdf)
1 parent 6c60ad9 commit 3ce867f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Orange/widgets/data/owdatasets.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,6 @@ def update_model(self):
490490
# for settings do not use os.path.join (Windows separator is different)
491491
if file_path[-1] == self.selected_id:
492492
current_index = i
493-
# for selected_id, set publication status so that unlisted data load correctly
494-
datainfo.publication_status = Namespace.PUBLISHED
495493
if self.core_widget:
496494
self.domain = datainfo.domain
497495
if self.domain == "sc": # domain from the list of ignored domain
@@ -639,8 +637,6 @@ def __on_selection(self):
639637
di = current.data(Qt.UserRole)
640638
text = description_html(di)
641639
self.descriptionlabel.setText(text)
642-
# do not clear a dataset once you select it if it was unlisted
643-
di.publication_status = Namespace.PUBLISHED
644640
else:
645641
self.descriptionlabel.setText("")
646642

0 commit comments

Comments
 (0)