UI: Disable properties button if no properties

master
jp9000 2020-08-25 00:40:00 -07:00
parent b4443ea5ef
commit 1a7a47dd3b
1 changed files with 2 additions and 1 deletions

View File

@ -2980,7 +2980,8 @@ void OBSBasic::UpdateContextBar()
ui->contextSourceLabel->setText(name);
ui->sourceFiltersButton->setEnabled(true);
ui->sourcePropertiesButton->setEnabled(true);
ui->sourcePropertiesButton->setEnabled(
obs_source_configurable(source));
} else {
ui->contextSourceLabel->setText(
QTStr("ContextBar.NoSelectedSource"));