IDEMPIERE-5888 - solve login issue for users with single client not saving preferences (#2191)

This commit is contained in:
Carlos Ruiz 2024-01-15 05:00:20 +01:00
parent c9235a02b4
commit 508bcf20d1
1 changed files with 1 additions and 2 deletions

View File

@ -498,7 +498,6 @@ public class RolePanel extends Window implements EventListener<Event>, Deferrabl
Comboitem lstItemClient = lstClient.getSelectedItem();
if (lstItemClient != null)
{
if (lstClient.getChildren().size() > 1) // load the preference was postponed until client selected
userPreference.loadPreference(Env.getContextAsInt(m_ctx, Env.AD_USER_ID));
// initial role