Update certificate lineedit if the selected group was removed

GnuPG-bug-id: 5175, 5239
2 jobs for master in 17 minutes and 28 seconds (queued for 23 minutes and 57 seconds)
Status Job ID Name Coverage
  Build
passed #92628
build_clazy_clang_tidy

00:11:18

passed #92627
linux kf5-qt5 qt5.15

00:06:10

0.0%