mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- osd_setup.cpp: move dest-dir for screenshots to top of menu
This commit is contained in:
@@ -988,6 +988,10 @@ void COsdSetup::showOsdScreenShotSetup(CMenuWidget *menu_screenshot)
|
||||
if((uint)g_settings.key_screenshot == CRCInput::RC_nokey)
|
||||
menu_screenshot->addItem( new CMenuSeparator(CMenuSeparator::LINE | CMenuSeparator::STRING, LOCALE_SCREENSHOT_INFO));
|
||||
|
||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_SCREENSHOT_DEFDIR, true, g_settings.screenshot_dir, this, "screenshot_dir");
|
||||
mf->setHint("", LOCALE_MENU_HINT_SCREENSHOT_DIR);
|
||||
menu_screenshot->addItem(mf);
|
||||
|
||||
CMenuOptionNumberChooser * nc = new CMenuOptionNumberChooser(LOCALE_SCREENSHOT_COUNT, &g_settings.screenshot_count, true, 1, 5, NULL);
|
||||
nc->setHint("", LOCALE_MENU_HINT_SCREENSHOT_COUNT);
|
||||
menu_screenshot->addItem(nc);
|
||||
@@ -996,10 +1000,6 @@ void COsdSetup::showOsdScreenShotSetup(CMenuWidget *menu_screenshot)
|
||||
mc->setHint("", LOCALE_MENU_HINT_SCREENSHOT_FORMAT);
|
||||
menu_screenshot->addItem(mc);
|
||||
|
||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_SCREENSHOT_DEFDIR, true, g_settings.screenshot_dir, this, "screenshot_dir");
|
||||
mf->setHint("", LOCALE_MENU_HINT_SCREENSHOT_DIR);
|
||||
menu_screenshot->addItem(mf);
|
||||
|
||||
mc = new CMenuOptionChooser(LOCALE_SCREENSHOT_RES, &g_settings.screenshot_mode, SCREENSHOT_OPTIONS, SCREENSHOT_OPTION_COUNT, true);
|
||||
mc->setHint("", LOCALE_MENU_HINT_SCREENSHOT_RES);
|
||||
menu_screenshot->addItem(mc);
|
||||
|
Reference in New Issue
Block a user