Window: addToFavourites(): Discard shortcut from system entries

This commit is contained in:
Albert S. 2020-10-19 21:36:37 +02:00
부모 64d3223fb2
커밋 042b53a0be
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

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