Two improvements related with PlotSubWindow
Fix ModulesHandle to filter PlotSubWinodws Generalize reload to be applied to all kinds of subwindows
This commit is contained in:
1 parent
d3a83bde04
commit
59f744c725
6 files changed
+42
-16
No files matched your search
+15
-4
@@ -122,11 +122,22 @@ Void VideoSubWindow::loadAll()
|
||||
refreshFrame();
|
||||
}
|
||||
|
||||
Void VideoSubWindow::reloadFile()
|
||||
Void VideoSubWindow::refreshSubWindow()
|
||||
{
|
||||
Int currFrameNum = m_pCurrStream->getCurrFrameNum();
|
||||
loadFile( m_cFilename, false );
|
||||
seekAbsoluteEvent( currFrameNum );
|
||||
if( getCategory() == SubWindowHandle::VIDEO_STREAM_SUBWINDOW )
|
||||
{
|
||||
Int currFrameNum = m_pCurrStream->getCurrFrameNum();
|
||||
if( !loadFile( m_cFilename, false ) )
|
||||
{
|
||||
close();
|
||||
return;
|
||||
}
|
||||
seekAbsoluteEvent( currFrameNum );
|
||||
}
|
||||
else
|
||||
{
|
||||
refreshFrame();
|
||||
}
|
||||
}
|
||||
|
||||
Bool VideoSubWindow::loadFile( QString cFilename, Bool bForceDialog )
|
||||
|
||||
Reference in new issue
Block a user