Added support for startCollectionEnter settings.conf parameter, which will automatically enter the first collection on startup. This is intended to further support the collectionUp/Down keys.

This commit is contained in:
Pieter Hulshoff 2019-10-13 15:43:20 +02:00
parent e577ebd34c
commit 6c9abdd626
2 changed files with 12 additions and 2 deletions

View File

@ -409,7 +409,17 @@ void RetroFE::run( )
case RETROFE_ENTER:
if ( currentPage_->isIdle( ) )
{
state = RETROFE_IDLE;
bool startCollectionEnter = false;
config_.getProperty( "startCollectionEnter", startCollectionEnter );
nextPageItem_ = currentPage_->getSelectedItem( );
if ( !splashMode && startCollectionEnter && !nextPageItem_->leaf )
{
state = RETROFE_NEXT_PAGE_REQUEST;
}
else
{
state = RETROFE_IDLE;
}
}
break;

View File

@ -21,7 +21,7 @@
std::string retrofe_version_major = "0";
std::string retrofe_version_minor = "9";
std::string retrofe_version_build = "5";
std::string retrofe_version_build = "6";
std::string Version::getString( )