소스 검색

UI: Set dock floating after hiding it

Setting the dock floating before hiding it created a transparent window
on X11.
Norihiro Kamae 1 년 전
부모
커밋
7b2d555061
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      UI/api-interface.cpp

+ 1 - 1
UI/api-interface.cpp

@@ -416,8 +416,8 @@ struct OBSStudioAPI : obs_frontend_callbacks {
 
 		main->AddDockWidget(dock, Qt::RightDockWidgetArea);
 
-		dock->setFloating(true);
 		dock->setVisible(false);
+		dock->setFloating(true);
 
 		return true;
 	}