diff options
Diffstat (limited to 'org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetView.java')
-rw-r--r-- | org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetView.java b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetView.java index 28a84ccca..a2bac53b8 100644 --- a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetView.java +++ b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetView.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2003, 2006 IBM Corporation and others. + * Copyright (c) 2003, 2007 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -193,7 +193,7 @@ public class CheatSheetView extends ViewPart { } else { contentMemento.putString(ICheatSheetResource.MEMENTO_ID, element.getID()); contentMemento.putString(ICheatSheetResource.MEMENTO_NAME, element.getLabel(null)); - contentMemento.putString(ICheatSheetResource.MEMENTO_URL, element.getContentFile()); + contentMemento.putString(ICheatSheetResource.MEMENTO_URL, element.getHref()); } // Make sure the current cheat sheet is saved |