Commit a1d12b36 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Fix timeline zone on new projects

BUG: 374373
parent 33fdfb59
......@@ -1991,15 +1991,15 @@ void MainWindow::connectDocument()
if (m_recMonitor) {
m_recMonitor->slotUpdateCaptureFolder(project->projectDataFolder() + QDir::separator());
}
// Init document zone
m_projectMonitor->slotZoneMoved(trackView->inPoint(), trackView->outPoint());
//Update the mouse position display so it will display in DF/NDF format by default based on the project setting.
slotUpdateMousePosition(0);
// Update guides info in render widget
slotGuidesUpdated();
// Make sure monitor is visible so that it is painted black on startup
//show();
//pCore->monitorManager()->activateMonitor(Kdenlive::ClipMonitor, true);
// set tool to select tool
setTrimMode(QStringLiteral());
m_buttonSelectTool->setChecked(true);
......
......@@ -585,7 +585,6 @@ void ProjectManager::doOpenFile(const QUrl &url, KAutoSaveFile *stale)
pCore->window()->slotGotProgressInfo(QString(), -1);
pCore->monitorManager()->projectMonitor()->adjustRulerSize(m_trackView->duration() - 1);
pCore->monitorManager()->projectMonitor()->slotZoneMoved(m_trackView->inPoint(), m_trackView->outPoint());
if (openBackup) {
slotOpenBackup(url);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment