Revision 2075d799
Added by Patrick Plitzner over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/io/e4/in/AbstractImportWizardE4.java | ||
---|---|---|
70 | 70 |
|
71 | 71 |
@Override |
72 | 72 |
public void setContainer(IWizardContainer wizardContainer) { |
73 |
if(existUnsavedEditors()){ |
|
73 |
if(existUnsavedEditors() && wizardContainer!=null){
|
|
74 | 74 |
MessageDialog.open(MessageDialog.WARNING, getShell(), "Unsaved editors", "Please save all open editors before executing " + |
75 | 75 |
"an import operation. The import operation will be cancelled", SWT.NONE); |
76 | 76 |
} |
Also available in: Unified diff
ref #6921 Avoid double save editor warning when closing wizard