Copy Visible shortcut doesn't work when there is only one layer
GIMP version: 2.10.8 Operating System: Windows 10 Package: Installer from gimp.org
Description of the bug
We can't use the copy visible shortcut CTRL+SHIFT+C when there's only one layer. It works when there's several layers, the action through the menu Edit > Copy Visible always works too. It's only the shortcut with one layer that doesn't work. Off course it's meaningless to use copy visible when there is only one layer but it's still a bug.
Reproduction
Always
Reproduction steps:
- open image with one single layer
- press Ctrl+Shift+C
- paste
Expected result: Selection should be copied to the clipboard and pasted.
Actual result: The clipboard is empty.