COrrezione al menu
git-svn-id: svn://10.65.10.50/trunk@1444 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
a19b49d1f5
commit
7b22fdc31e
@ -445,11 +445,14 @@ bool TMenu_application::check_user()
|
||||
{
|
||||
TMask m("ba0100a");
|
||||
TLocalisamfile users(LF_USER);
|
||||
TString16 utente, pwd;
|
||||
TString16 utente(user()), pwd;
|
||||
|
||||
bool ok = FALSE;
|
||||
for (int i = 0 ; i < 3 && !ok; i++)
|
||||
{
|
||||
{
|
||||
m.set(F_USER, utente);
|
||||
if (utente.not_empty())
|
||||
m.first_focus(F_PASSWORD);
|
||||
if (m.run() == K_ESC)
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user