mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/scan_setup.cpp: dont show rotor options on cable-only box
This commit is contained in:
@@ -623,6 +623,7 @@ int CScanSetup::showScanMenuFrontendSetup()
|
||||
nc->setHint("", LOCALE_MENU_HINT_SCAN_FETIMEOUT);
|
||||
setupMenu->addItem(nc);
|
||||
|
||||
if (CFEManager::getInstance()->haveSat()) {
|
||||
sprintf(zapit_lat, "%02.6f", zapitCfg.gotoXXLatitude);
|
||||
sprintf(zapit_long, "%02.6f", zapitCfg.gotoXXLongitude);
|
||||
|
||||
@@ -648,6 +649,7 @@ int CScanSetup::showScanMenuFrontendSetup()
|
||||
nc = new CMenuOptionNumberChooser(LOCALE_SATSETUP_USALS_REPEAT, (int *)&zapitCfg.repeatUsals, true, 0, 10, NULL, 0, 0, LOCALE_OPTIONS_OFF);
|
||||
nc->setHint("", LOCALE_MENU_HINT_SCAN_USALS_REPEAT);
|
||||
setupMenu->addItem(nc);
|
||||
}
|
||||
|
||||
int res = setupMenu->exec(NULL, "");
|
||||
delete setupMenu;
|
||||
|
Reference in New Issue
Block a user