1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 22:22:11 +02:00

Bug 322129 - Remove mnemonics from hyperlink text

This commit is contained in:
Anton Leherbauer 2010-11-15 11:47:36 +00:00
parent 2e2e49d1a3
commit 6983c5dba7

View file

@ -10,9 +10,9 @@
*******************************************************************************/
package org.eclipse.cdt.internal.ui.editor;
import org.eclipse.jface.action.IAction;
import org.eclipse.core.runtime.Assert;
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.hyperlink.IHyperlink;
@ -52,6 +52,6 @@ public class CElementHyperlink implements IHyperlink {
}
public String getHyperlinkText() {
return fOpenAction.getText();
return Action.removeMnemonics(fOpenAction.getText());
}
}