Skip to content

Commit

Permalink
Fix #12 : focus nothing on fullview change
Browse files Browse the repository at this point in the history
  • Loading branch information
nvuaille committed Jun 4, 2015
1 parent 34a54a5 commit e536a9a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ void BaseElementPresenter::on_displayedConstraintChanged()
{
const auto& constraintViewModel = *m_displayedConstraint->fullView();

model()->focusManager().focusNothing();

delete m_displayedConstraintPresenter;
m_displayedConstraintPresenter = new FullViewConstraintPresenter {constraintViewModel,
this->view()->baseItem(),
Expand Down

0 comments on commit e536a9a

Please sign in to comment.