mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
do not add found presets to recent
This commit is contained in:
@@ -218,8 +218,6 @@ export function uiEntityEditor(context) {
|
||||
// A "weak" preset doesn't set any tags. (e.g. "Address")
|
||||
// Don't replace a weak preset with a fallback preset (e.g. "Point")
|
||||
if (!(weakPreset && match.isFallback())) {
|
||||
match.visible(true);
|
||||
context.presets().choose(match);
|
||||
entityEditor.preset(match);
|
||||
}
|
||||
entityEditor.modified(_base !== graph);
|
||||
|
||||
Reference in New Issue
Block a user