UI: Disable wheel scrolling on QComboBoxes
Adds a new ProxyStyle, OBSIgnoreWheelProxyStyle, and applies it to the entire program. This style sets a StyleHint to disable mouse wheel scrolling on QComboBoxes. The existing OBSProxyStyle, which is used only for the context bar, has been renamed accordingly.
This commit is contained in:
parent
f2b049c0e7
commit
e33b7d2dab
4 changed files with 28 additions and 5 deletions
|
|
@ -257,7 +257,7 @@ OBSBasic::OBSBasic(QWidget *parent)
|
|||
|
||||
ui->setupUi(this);
|
||||
ui->previewDisabledWidget->setVisible(false);
|
||||
ui->contextContainer->setStyle(new OBSProxyStyle);
|
||||
ui->contextContainer->setStyle(new OBSContextBarProxyStyle);
|
||||
ui->broadcastButton->setVisible(false);
|
||||
|
||||
startingDockLayout = saveState();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue