Commit 3d28f629 authored by David Faure's avatar David Faure
Browse files

Add missing parent for child widget, which messed up tab order.

Yet another reason for explicit parents. Mixing explicit and implicit
leads to a wrong tab order (children with explicit parent first,
then reparented children).
parent c90e11d7
......@@ -37,7 +37,7 @@ TextReplaceWidget::TextReplaceWidget(QWidget *parent)
const int marg = lay->margin();
lay->setContentsMargins(marg, 0, marg, 0);
mReplace = new QLineEdit;
mReplace = new QLineEdit(this);
mReplace->setClearButtonEnabled(true);
lay->addWidget(mReplace);
......
Supports Markdown
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