NodeParamViewItemBase: Set widget in constructor

Fixes #1829
This commit is contained in:
itsmattkc
2022-01-24 09:58:04 -08:00
parent 8c481b4bd8
commit 9b19f7eab6
@@ -45,6 +45,10 @@ NodeParamViewItemBase::NodeParamViewItemBase(QWidget *parent) :
// size hints and will shrink as small as possible if the body is hidden)
hidden_body_ = new QWidget(this);
// Default to hidden body, this also seems to fix an issue with clicks being intermittent
// on the titlebar
setWidget(hidden_body_);
setAutoFillBackground(true);
setFocusPolicy(Qt::ClickFocus);