Commit d78eb8e9 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

setView before inserting in controller

parent 36726833
......@@ -133,9 +133,10 @@ void dtkWidgetsLayout::create(const QString& name)
dtkWidgetsWidget *widget = d->creator(name);
d->current->setView(widget);
dtkWidgetsController::instance()->insert(widget);
d->current->setView(widget);
}
void dtkWidgetsLayout::keyPressEvent(QKeyEvent *event)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment