Merge "Issue #1233 Added check for null shell in PointEditAction." into development
Former-commit-id: bf24aac3122df3869d5d7a165869925b9e051928
This commit is contained in:
commit
92372a7b57
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