Commit 63dbdd6e authored by Robert Smith's avatar Robert Smith
Browse files

Fixed CSV Plot Editor's dirty state

The CSV Plot Editor no longer erroneously reports itself as dirty when
viewing the graph when only the text editor has unsaved changes.
Signed-off-by: Robert Smith's avatarRobert Smith <>
parent f5cb839e
...@@ -317,6 +317,21 @@ public class PlotEditor extends MultiPageEditorPart { ...@@ -317,6 +317,21 @@ public class PlotEditor extends MultiPageEditorPart {
setSite(site); setSite(site);
setInput(input); setInput(input);
} }
* (non-Javadoc)
* @see org.eclipse.ui.part.MultiPageEditorPart#pageChange(int)
protected void pageChange(int newPageIndex){
//After changing the page, force a check on the editor's
//dirty state. This means that it is impossible to save on
//the graph page, which is not editable and thus not
/* /*
* (non-Javadoc) * (non-Javadoc)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment