protected void safeRun() throws Exception {
super.safeRun();
- if (rememberChoice) {
+ if (rememberChoice && a.getPriority() >= 0) {
// Make this choice the default for the next time.
EditorRegistry.getInstance().getMappings().put(getResource(), getAdapter());
}