Issue #1233 Added check for null shell in PointEditAction.

Change-Id: Ia96e6c1feb612b70e518c12722cd5e169bf142ac

Former-commit-id: 63c34663bd [formerly 241e41379f] [formerly ac331563fa [formerly f6437fdb1bae6439481c01042cb74c885ba0768a]]
Former-commit-id: ac331563fa
Former-commit-id: fa86d58ede
This commit is contained in:
Roger Ferrel 2012-10-02 11:12:03 -05:00
parent 24fb80b758
commit fb142e270b
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,5 @@
source.. = src/
output.. = bin/
bin.includes = META-INF/,\
.
.,\
icons/

View file

@ -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);