From 87ce67e9d388f82bf918c6ecae811d2a6ee5210c Mon Sep 17 00:00:00 2001 From: Ales Erjavec Date: Fri, 16 Sep 2016 09:50:21 +0200 Subject: [PATCH] owlearnerwidget: Fix output initialization Always output the initial learner, disregarding the `auto_apply`. --- Orange/widgets/utils/owlearnerwidget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Orange/widgets/utils/owlearnerwidget.py b/Orange/widgets/utils/owlearnerwidget.py index 8b9e5a44af7..a0ac7bfe6fc 100644 --- a/Orange/widgets/utils/owlearnerwidget.py +++ b/Orange/widgets/utils/owlearnerwidget.py @@ -123,7 +123,7 @@ def __init__(self): self.preprocessors = None self.outdated_settings = False self.setup_layout() - QTimer.singleShot(0, self.apply) + QTimer.singleShot(0, self.unconditional_apply) def create_learner(self): """Creates a learner with current configuration.