Fix bug with the seek slider

This commit is contained in:
2018-02-02 03:53:51 +00:00
parent 5863c3c48d
commit a29c269f74
+1 -2
View File
@@ -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 );