From a29c269f74c706e1a54b269af90ce49747b2ee84 Mon Sep 17 00:00:00 2001 From: Joao Carreira Date: Fri, 2 Feb 2018 03:52:51 +0000 Subject: [PATCH] Fix bug with the seek slider --- app/VideoHandle.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/VideoHandle.cpp b/app/VideoHandle.cpp index 0a142e5..dabd158 100644 --- a/app/VideoHandle.cpp +++ b/app/VideoHandle.cpp @@ -339,11 +339,10 @@ Void VideoHandle::update() m_pcFramePropertiesSideBar->setFrame( pcFrame ); m_pcFrameNumInfo->setTotalFrameNum( total_frame_num ); - m_pcFrameSlider->setMaximum( total_frame_num - 1 ); - m_pcFrameNumInfo->setCurrFrameNum( frame_num ); m_pcFrameSlider->blockSignals( true ); // Disable signals otherwise it will loop this function + m_pcFrameSlider->setMaximum( total_frame_num - 1 ); m_pcFrameSlider->setValue( frame_num ); m_pcFrameSlider->blockSignals( false );