1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-10 17:55:39 +02:00

null out the makefile variable

This commit is contained in:
Alain Magloire 2003-09-08 16:20:15 +00:00
parent 78f034de45
commit f4a7b9bcc3

View file

@ -40,7 +40,7 @@ public class MakefileEditor extends TextEditor {
* The page that shows the outline. * The page that shows the outline.
*/ */
protected MakefileContentOutlinePage page; protected MakefileContentOutlinePage page;
protected IMakefile makefile; private IMakefile makefile;
private MakefileContentOutlinePage getOutlinePage() { private MakefileContentOutlinePage getOutlinePage() {
if (page == null) { if (page == null) {
@ -102,6 +102,7 @@ public class MakefileEditor extends TextEditor {
*/ */
public void doSave(IProgressMonitor monitor) { public void doSave(IProgressMonitor monitor) {
super.doSave(monitor); super.doSave(monitor);
makefile = null;
if (page != null) { if (page != null) {
page.update(); page.update();
} }