Window: addToFavourites(): Discard shortcut from system entries

This commit is contained in:
Albert S. 2020-10-19 21:36:37 +02:00
rodič 64d3223fb2
revize 042b53a0be
1 změnil soubory, kde provedl 1 přidání a 0 odebrání

Zobrazit soubor

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