diff --git a/orangecontrib/text/widgets/owtopicmodeling.py b/orangecontrib/text/widgets/owtopicmodeling.py index 489cd87da..96f648774 100644 --- a/orangecontrib/text/widgets/owtopicmodeling.py +++ b/orangecontrib/text/widgets/owtopicmodeling.py @@ -210,13 +210,13 @@ def on_start(self): def on_result(self, corpus): self.progressBarFinished(None) self.Outputs.corpus.send(corpus) - self.Outputs.all_topics.send(self.model.get_all_topics_table()) if corpus is None: self.topic_desc.clear() self.Outputs.selected_topic.send(None) self.Outputs.all_topics.send(None) else: self.topic_desc.show_model(self.model) + self.Outputs.all_topics.send(self.model.get_all_topics_table()) @learning_task.callback def on_progress(self, p):