Issue #3053 - added check for selected items.
Change-Id: Iba7dff4291679524b03518790b0e183c3a980934 Former-commit-id:761101dd50
[formerlya8ab7f3946
] [formerly573465f316
] [formerly761101dd50
[formerlya8ab7f3946
] [formerly573465f316
] [formerlye054a7ab98
[formerly573465f316
[formerly ca47394d9578aac17d1696bd78c0fbcee5fe3f8f]]]] Former-commit-id:e054a7ab98
Former-commit-id:090ea0fa5a
[formerlyeda26e6076
] [formerly d8e463c70dce54bf7b40b1d218bccb587c3b88e6 [formerly43fdbe9ab6
]] Former-commit-id: a4e6f79e43287a75219721e1af377b8859a3b82e [formerlyede8740acc
] Former-commit-id:3a133f6626
This commit is contained in:
parent
5ad4b4430f
commit
b011f13fb1
1 changed files with 5 additions and 3 deletions
|
@ -311,10 +311,12 @@ public class ListSelectionDlg extends CaveSWTDialog {
|
|||
*/
|
||||
private void action() {
|
||||
|
||||
if (selectList.getSelectionCount() == 0) {
|
||||
int choice = displayConfirmationBox();
|
||||
if (choice == SWT.CANCEL) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (returnAsArray == ReturnArray.ARRAY_STRING_ITEMS) {
|
||||
setReturnValue(selectList.getSelection());
|
||||
|
|
Loading…
Add table
Reference in a new issue