addquicktag icon indicating copy to clipboard operation
addquicktag copied to clipboard

Import should add, not overwrite

Open strider72 opened this issue 10 years ago • 2 comments

I had a bunch of quicktags in Settings. I tested an import file, and rather than adding the new tag, it completely erased anything that already existed, leaving only the imported tag. It also saved the settings as such so there was no way to undo.

One of two things should change here: Either give the user an explicit option to add or overwrite, OR the plugin should not immediately save the options, so the user can "undo" by leaving the Settings page without saving.

strider72 avatar Oct 07 '15 19:10 strider72

Hi @strider72 right, currently is the import a full overwrite of the settings, no checks for existing settings.

That I understand right. You will add new settings from a other installation, additional settings to current settings.

bueltge avatar Oct 08 '15 07:10 bueltge

Correct. When I import, it should add the new settings to existing settings. It should not remove the existing settings.

strider72 avatar Jan 28 '16 20:01 strider72