* fix: always show error message when nothing is selected
This continues the fixes done in 4816a27d76 (ref #1283)
* Use correct variable name (selection) and add one more nil check
* Fix indentation
* fix: always show error message when nothing is selected
This continues the fixes done in 4816a27d76 (ref #1283)
* Use correct variable name (selection) and add one more nil check
* Fix indentation