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:
parent
78f034de45
commit
f4a7b9bcc3
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue