dont ask which box, if just one is present.

Origin commit data
------------------
Branch: ni/coolstream
Commit: 22b0248d70
Author: TangoCash <eric@loxat.de>
Date: 2017-02-06 (Mon, 06 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
TangoCash
2017-02-06 12:16:50 +01:00
committed by vanhofen
parent b7ea9d2338
commit 082f209da8

View File

@@ -703,6 +703,8 @@ void CTimerList::updateEvents(void)
void CTimerList::RemoteBoxSelect()
{
int select = 0;
if (g_settings.timer_remotebox_ip.size() > 1) {
CMenuWidget *m = new CMenuWidget(LOCALE_REMOTEBOX_HEAD, NEUTRINO_ICON_TIMER);
CMenuSelectorTarget * selector = new CMenuSelectorTarget(&select);
@@ -713,6 +715,7 @@ void CTimerList::RemoteBoxSelect()
m->exec(NULL, "");
delete selector;
}
std::vector<timer_remotebox_item>::iterator it = g_settings.timer_remotebox_ip.begin();
std::advance(it,select);