mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
dont ask which box, if just one is present.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user