Issue #1233 Added check for null shell in PointEditAction.
Change-Id: Ia96e6c1feb612b70e518c12722cd5e169bf142ac Former-commit-id:63c34663bd
[formerly241e41379f
] [formerlyac331563fa
[formerly f6437fdb1bae6439481c01042cb74c885ba0768a]] Former-commit-id:ac331563fa
Former-commit-id:fa86d58ede
This commit is contained in:
parent
24fb80b758
commit
fb142e270b
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
source.. = src/
|
||||
output.. = bin/
|
||||
bin.includes = META-INF/,\
|
||||
.
|
||||
.,\
|
||||
icons/
|
||||
|
|
|
@ -62,7 +62,7 @@ public class PointEditAction extends AbstractRightClickAction {
|
|||
|
||||
@Override
|
||||
public void run() {
|
||||
if (dialog == null || dialog.isDisposed()) {
|
||||
if (dialog == null || dialog.getShell() == null || dialog.isDisposed()) {
|
||||
dialog = new PointsMgrDialog(Display.getCurrent().getShells()[0],
|
||||
(PointsToolLayer) getSelectedRsc());
|
||||
dialog.setBlockOnOpen(false);
|
||||
|
|
Loading…
Add table
Reference in a new issue