]> git.sesse.net Git - kdenlive/commitdiff
When resetting the profile do not switch to project monitor but keep the active monit...
authorTill Theato <root@ttill.de>
Thu, 22 Jul 2010 13:07:41 +0000 (13:07 +0000)
committerTill Theato <root@ttill.de>
Thu, 22 Jul 2010 13:07:41 +0000 (13:07 +0000)
svn path=/trunk/kdenlive/; revision=4621

src/monitormanager.cpp

index 0fdcd52d67e700d5363975c9a5ba35a6be7f0c52..2dccaa4edbc9b29f39b65fe0368ac5f00ac6289c 100644 (file)
@@ -157,6 +157,7 @@ void MonitorManager::slotResetProfiles()
 {
     if (m_blocked) return;
     if (m_projectMonitor == NULL || m_clipMonitor == NULL) return;
+    QString active = m_activeMonitor;
     activateMonitor("clip");
     m_clipMonitor->resetProfile(KdenliveSettings::current_profile());
     m_clipMonitor->updateTimecodeFormat();
@@ -164,6 +165,7 @@ void MonitorManager::slotResetProfiles()
     m_projectMonitor->resetProfile(KdenliveSettings::current_profile());
     m_projectMonitor->updateTimecodeFormat();
     //m_projectMonitor->refreshMonitor(true);
+    activateMonitor(active);
 }