Window: addToFavourites(): Discard shortcut from system entries

This commit is contained in:
Albert S. 2020-10-19 21:36:37 +02:00
parent 64d3223fb2
commit 042b53a0be

View File

@ -166,6 +166,7 @@ void Window::addToFavourites(const EntryConfig &config)
when we add it to the favourites. the alternative would be to reload the whole config, when we add it to the favourites. the alternative would be to reload the whole config,
but that's probably overkill. */ but that's probably overkill. */
userConfig.update(config); userConfig.update(config);
userConfig.key = "";
userEntryButtons.append(createEntryButton(userConfig)); userEntryButtons.append(createEntryButton(userConfig));
} }