Window: addToFavourites(): Discard shortcut from system entries

This commit is contained in:
2020-10-19 21:36:37 +02:00
والد 64d3223fb2
کامیت 042b53a0be

مشاهده پرونده

@@ -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));
} }