mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-02 19:27:57 +08:00
PL-10591 [Desktop] Close standard Remove Confirmation dialog if delete has failed because of deletion policy
This commit is contained in:
parent
0782724dfd
commit
6ae26569e0
@ -1704,10 +1704,13 @@ public class DesktopWindowManager extends WindowManager {
|
||||
});
|
||||
}
|
||||
|
||||
action.actionPerform(null);
|
||||
dialog.setVisible(false);
|
||||
cleanupAfterModalDialogClosed(null);
|
||||
dialog.dispose();
|
||||
try {
|
||||
action.actionPerform(null);
|
||||
} finally {
|
||||
dialog.setVisible(false);
|
||||
cleanupAfterModalDialogClosed(null);
|
||||
dialog.dispose();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user