From 1a7a47dd3b96e20ee57f545b83bf2aadc14d8fcd Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 25 Aug 2020 00:40:00 -0700 Subject: [PATCH] UI: Disable properties button if no properties --- UI/window-basic-main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UI/window-basic-main.cpp b/UI/window-basic-main.cpp index 28c3cb6f5..1a9bb4e4e 100644 --- a/UI/window-basic-main.cpp +++ b/UI/window-basic-main.cpp @@ -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"));