Window: addToFavourites(): Discard shortcut from system entries

This commit is contained in:
Albert S. 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));
} }