diff --git a/Orange/widgets/utils/owlearnerwidget.py b/Orange/widgets/utils/owlearnerwidget.py index 11bc9e659c6..dcdb5c3cad4 100644 --- a/Orange/widgets/utils/owlearnerwidget.py +++ b/Orange/widgets/utils/owlearnerwidget.py @@ -1,5 +1,5 @@ import numpy as np -from PyQt4.QtCore import QTimer +from PyQt4.QtCore import QTimer, Qt from Orange.classification.base_classification import LearnerClassification from Orange.data import Table @@ -226,6 +226,7 @@ def add_main_layout(self): def add_learner_name_widget(self): gui.lineEdit(self.controlArea, self, 'learner_name', box='Name', tooltip='The name will identify this model in other widgets', + orientation=Qt.Horizontal, callback=lambda: self.apply()) def add_bottom_buttons(self):