Add shortcut and start counting frames from 0

This commit is contained in:
jfmcarreira committed 2014-10-10 14:42:20 +01:00
1 parent 276a7d5817
commit eb0fef09b5
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ WidgetFrameNumber::WidgetFrameNumber( QWidget *parent ) :
}
Void WidgetFrameNumber::setCurrFrameNum( Int number )
{
m_pcCurrFrameNumLabel->setText( QString( tr( "%1" ) ).arg( number + 1 ) );
m_pcCurrFrameNumLabel->setText( QString( tr( "%1" ) ).arg( number ) );
}
Void WidgetFrameNumber::setTotalFrameNum( Int number )
{
+1
View File
@@ -1151,6 +1151,7 @@ Void plaYUVerApp::createActions()
m_arrayActions[RELOAD_ALL_ACT] = new QAction( tr( "Reload All" ), this );
//m_arrayActions[RELOAD_ACT]->setIcon( QIcon( ":/images/configuredialog.png" ) );
m_arrayActions[RELOAD_ALL_ACT]->setShortcut( Qt::CTRL + Qt::SHIFT + Qt::Key_R );
m_arrayActions[RELOAD_ALL_ACT]->setStatusTip( tr( "Reload all sequences" ) );
connect( m_arrayActions[RELOAD_ALL_ACT], SIGNAL( triggered() ), this, SLOT( reloadAll() ) );