Browse Source

UI: Fix crash when opening transition Properties dialog

Crash was introduced in ae4797f8cc. It seems with that change, this
function call is no longer necessary.
Matt Gajownik 3 years ago
parent
commit
ffc55b2d3a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      UI/window-basic-properties.cpp

+ 0 - 1
UI/window-basic-properties.cpp

@@ -115,7 +115,6 @@ OBSBasicProperties::OBSBasicProperties(QWidget *parent, OBSSource source_)
 	layout()->addWidget(windowSplitter);
 
 	if (type == OBS_SOURCE_TYPE_TRANSITION) {
-		AddPreviewButton();
 		connect(view, SIGNAL(PropertiesRefreshed()), this,
 			SLOT(AddPreviewButton()));
 	}