From: Till Theato Date: Thu, 22 Jul 2010 13:07:41 +0000 (+0000) Subject: When resetting the profile do not switch to project monitor but keep the active monit... X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=86fd8c754164d23b185bea7dda1866d977429b73;p=kdenlive When resetting the profile do not switch to project monitor but keep the active monitor active svn path=/trunk/kdenlive/; revision=4621 --- diff --git a/src/monitormanager.cpp b/src/monitormanager.cpp index 0fdcd52d..2dccaa4e 100644 --- a/src/monitormanager.cpp +++ b/src/monitormanager.cpp @@ -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); }