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