gui/scan_setup.cpp, gui/motorcontrol.cpp: use per frontend rotor swap option

Origin commit data
------------------
Commit: 929eb86760
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-03-04 (Tue, 04 Mar 2014)
This commit is contained in:
[CST] Focus
2014-03-04 12:22:47 +04:00
parent d947a53f1e
commit 1ce3c60c74
3 changed files with 11 additions and 4 deletions

View File

@@ -809,6 +809,11 @@ int CScanSetup::showFrontendSetup(int number)
setupMenu->addItem(mc);
msettings.Add(mc);
mc = new CMenuOptionChooser(LOCALE_EXTRA_ROTOR_SWAP, &fe_config.rotor_swap, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, allow_moptions, this);
mc->setHint("", LOCALE_MENU_HINT_ROTOR_SWAP);
setupMenu->addItem(mc);
msettings.Add(mc);
CMenuForwarder * mf = new CMenuForwarder(LOCALE_MOTORCONTROL_HEAD, allow_moptions, NULL, this, "satfind", CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE);
mf->setHint("", LOCALE_MENU_HINT_SCAN_SATFIND);
setupMenu->addItem(mf);