Issue #3053 - added check for selected items.
Change-Id: Iba7dff4291679524b03518790b0e183c3a980934 Former-commit-id:e054a7ab98
[formerly ca47394d9578aac17d1696bd78c0fbcee5fe3f8f] Former-commit-id:573465f316
This commit is contained in:
parent
d145961f4c
commit
a8ab7f3946
1 changed files with 5 additions and 3 deletions
|
@ -311,9 +311,11 @@ public class ListSelectionDlg extends CaveSWTDialog {
|
|||
*/
|
||||
private void action() {
|
||||
|
||||
int choice = displayConfirmationBox();
|
||||
if (choice == SWT.CANCEL) {
|
||||
return;
|
||||
if (selectList.getSelectionCount() == 0) {
|
||||
int choice = displayConfirmationBox();
|
||||
if (choice == SWT.CANCEL) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (returnAsArray == ReturnArray.ARRAY_STRING_ITEMS) {
|
||||
|
|
Loading…
Add table
Reference in a new issue