Revision 1542

tmp/org.txm.rcp/src/main/java/org/txm/rcp/editors/TXMEditor.java (revision 1542)
694 694
		
695 695
		for (TXMEditorExtension<T> extension : this.extensions) {
696 696
			try {
697
				needed = needed || extension.isSaveOnCloseNeeded();
697
				needed = needed || (extension.isSaveOnCloseNeeded() && extension.isDirty());
698 698
			} catch (Exception e) {
699 699
				e.printStackTrace();
700 700
			}

Also available in: Unified diff