Ensure contents of comboboxes are readable when changing scene/filter

This commit is contained in:
WarmUpTill
2021-11-20 00:22:56 +01:00
committed by WarmUpTill
parent 82a41694a1
commit d7102d395e
4 changed files with 8 additions and 0 deletions

View File

@@ -94,6 +94,7 @@ MacroActionFilterEdit::MacroActionFilterEdit(
{
_sources = new QComboBox();
_filters = new QComboBox();
_filters->setSizeAdjustPolicy(QComboBox::AdjustToContents);
_actions = new QComboBox();
_getSettings = new QPushButton(
obs_module_text("AdvSceneSwitcher.action.filter.getSettings"));
@@ -165,6 +166,7 @@ void MacroActionFilterEdit::SourceChanged(const QString &text)
}
_filters->clear();
populateFilterSelection(_filters, _entryData->_source);
_filters->adjustSize();
}
void MacroActionFilterEdit::FilterChanged(const QString &text)