Disable focus for new channel button in Mixer (#7597)

This commit is contained in:
saker
2024-11-27 17:14:35 -05:00
committed by GitHub
parent 95a0518085
commit 5acc7965c2

View File

@@ -150,6 +150,7 @@ MixerView::MixerView(Mixer* mixer) :
newChannelBtn->setObjectName("newChannelBtn");
newChannelBtn->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
newChannelBtn->setFixedWidth(mixerChannelSize.width());
newChannelBtn->setFocusPolicy(Qt::NoFocus);
connect(newChannelBtn, SIGNAL(clicked()), this, SLOT(addNewChannel()));
ml->addWidget(newChannelBtn, 0);