Issue #1233 Added check for null shell in PointEditAction.

Change-Id: Ia96e6c1feb612b70e518c12722cd5e169bf142ac

Former-commit-id: 65131152a3 [formerly 63c34663bd] [formerly 241e41379f] [formerly ac331563fa [formerly 241e41379f [formerly f6437fdb1bae6439481c01042cb74c885ba0768a]]]
Former-commit-id: ac331563fa
Former-commit-id: 26ca7ce4a3417603fa5e185b0371d70241d22965 [formerly fa86d58ede]
Former-commit-id: fb142e270b
This commit is contained in:
Roger Ferrel 2012-10-02 11:12:03 -05:00
parent 5e5debf9ea
commit 5c2ff072f1
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);