]> git.sesse.net Git - kdenlive/commitdiff
Fix monitor displaying corrupt image on startup: http://www.kdenlive.org/mantis/view...
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 24 Feb 2013 17:49:46 +0000 (18:49 +0100)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 24 Feb 2013 17:49:46 +0000 (18:49 +0100)
src/mainwindow.cpp

index f6fd491a8e2e8e2888e8313324c2257c4ef42cb4..a48d8fb730deb8414d96344639fafe4261884cae 100644 (file)
@@ -2713,6 +2713,9 @@ void MainWindow::connectDocument(TrackView *trackView, KdenliveDoc *doc)   //cha
 #endif
     //Update the mouse position display so it will display in DF/NDF format by default based on the project setting.
     slotUpdateMousePosition(0);
+
+    // Make sure monitor is visible so that it is painted black on startup
+    show();
     m_monitorManager->activateMonitor(Kdenlive::clipMonitor, true);
     // set tool to select tool
     m_buttonSelectTool->setChecked(true);