Merge "Issue #1233 Added check for null shell in PointEditAction." into development

Former-commit-id: bf24aac3122df3869d5d7a165869925b9e051928
This commit is contained in:
Nate Jensen 2012-10-02 13:17:19 -05:00 committed by Gerrit Code Review
commit 92372a7b57
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);