Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] OWBaseLearner: Learner name is changed on output when user changes it and auto apply selected #1453

Merged
merged 1 commit into from
Jul 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Orange/widgets/utils/owlearnerwidget.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -225,7 +225,9 @@ 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')
tooltip='The name will identify this model in other widgets',
orientation=Qt.Horizontal,
callback=lambda: self.apply())

def add_bottom_buttons(self):
box = gui.hBox(self.controlArea, True)
Expand Down