mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
change most code to use CKeyboardInput in place of CStringInputSMS
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#include <gui/plugins.h>
|
||||
#include <gui/widget/icons.h>
|
||||
#include <gui/widget/stringinput.h>
|
||||
#include <gui/widget/keyboard_input.h>
|
||||
#include <gui/widget/keychooser.h>
|
||||
#include <gui/widget/messagebox.h>
|
||||
|
||||
@@ -207,7 +208,7 @@ int CUserMenuSetup::showSetup()
|
||||
ums->addIntroItems();
|
||||
|
||||
int old_key = g_settings.usermenu[button]->key;
|
||||
CStringInputSMS name(LOCALE_USERMENU_NAME, &g_settings.usermenu[button]->title, 20, NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyzäöüß/- "/*, notify*/);
|
||||
CKeyboardInput name(LOCALE_USERMENU_NAME, &g_settings.usermenu[button]->title, 20);
|
||||
CMenuForwarder * mf = new CMenuForwarder(LOCALE_USERMENU_NAME, true, NULL, &name);
|
||||
|
||||
ums->addItem(mf);
|
||||
|
Reference in New Issue
Block a user