mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-05 04:38:10 +08:00
Refs #186 Exception Замещаемые пользователи, нажатие кнопки "Редактировать" если не выбрана запись
This commit is contained in:
parent
9fd4064742
commit
a7884c3d59
@ -201,8 +201,9 @@ public class UserEditor extends AbstractEditor {
|
||||
public void actionPerform(Component component) {
|
||||
final CollectionDatasource<UserSubstitution, UUID> usDs = substTable.getDatasource();
|
||||
|
||||
openEditor("sec$UserSubstitution.edit", usDs.getItem(),
|
||||
WindowManager.OpenType.DIALOG, usDs);
|
||||
if (usDs.getItem() != null)
|
||||
openEditor("sec$UserSubstitution.edit", usDs.getItem(),
|
||||
WindowManager.OpenType.DIALOG, usDs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user