mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
UI: Don't open properties dialog if item is scene
This disables opening of the properties dialog if a scene is double clicked in the source tree.
This commit is contained in:
parent
018ce16703
commit
610a2171a2
|
@ -328,7 +328,7 @@ void SourceTreeItem::mouseDoubleClickEvent(QMouseEvent *event)
|
|||
obs_source_t *source = obs_sceneitem_get_source(sceneitem);
|
||||
OBSBasic *main =
|
||||
reinterpret_cast<OBSBasic *>(App()->GetMainWindow());
|
||||
if (source) {
|
||||
if (obs_source_configurable(source)) {
|
||||
main->CreatePropertiesWindow(source);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue