Fix case when no vector was selected
Fix case when no vector was selected

Signed-off-by: Michael Geszkiewicz <1353f14f196456fb320ac2b8adb59fdfeedb558b@wp.pl>

RunningLight/machinekit,araisrobo/linuxcnc,ikcalB/linuxcnc-mirror,unseenlaser/linuxcnc,strahlex/machinekit,araisrobo/machinekit,RunningLight/machinekit,ianmcmahon/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,unseenlaser/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,kinsamanka/machinekit,araisrobo/machinekit,bmwiedemann/linuxcnc-mirror,cdsteinkuehler/MachineKit,jaguarcat79/ILC-with-LinuxCNC,araisrobo/machinekit,unseenlaser/machinekit,kinsamanka/machinekit,ArcEye/machinekit-testing,Cid427/machinekit,EqAfrica/machinekit,mhaberler/machinekit,ianmcmahon/linuxcnc-mirror,ikcalB/linuxcnc-mirror,bobvanderlinden/machinekit,mhaberler/machinekit,Cid427/machinekit,unseenlaser/machinekit,unseenlaser/machinekit,aschiffler/linuxcnc,ianmcmahon/linuxcnc-mirror,cnc-club/linuxcnc,strahlex/machinekit,aschiffler/linuxcnc,narogon/linuxcnc,bobvanderlinden/machinekit,RunningLight/machinekit,cdsteinkuehler/linuxcnc,mhaberler/machinekit,strahlex/machinekit,mhaberler/machinekit,strahlex/machinekit,cdsteinkuehler/linuxcnc,ianmcmahon/linuxcnc-mirror,kinsamanka/machinekit,bobvanderlinden/machinekit,araisrobo/machinekit,cdsteinkuehler/linuxcnc,Cid427/machinekit,ArcEye/MK-Qt5,unseenlaser/machinekit,aschiffler/linuxcnc,bobvanderlinden/machinekit,EqAfrica/machinekit,araisrobo/linuxcnc,araisrobo/linuxcnc,araisrobo/machinekit,bmwiedemann/linuxcnc-mirror,kinsamanka/machinekit,ikcalB/linuxcnc-mirror,strahlex/machinekit,cnc-club/linuxcnc,bmwiedemann/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,mhaberler/machinekit,strahlex/machinekit,RunningLight/machinekit,mhaberler/machinekit,ArcEye/machinekit-testing,ArcEye/MK-Qt5,araisrobo/linuxcnc,cdsteinkuehler/MachineKit,RunningLight/machinekit,unseenlaser/machinekit,cdsteinkuehler/linuxcnc,aschiffler/linuxcnc,bobvanderlinden/machinekit,EqAfrica/machinekit,ikcalB/linuxcnc-mirror,ikcalB/linuxcnc-mirror,bobvanderlinden/machinekit,cdsteinkuehler/MachineKit,kinsamanka/machinekit,kinsamanka/machinekit,cdsteinkuehler/linuxcnc,araisrobo/machinekit,araisrobo/linuxcnc,ianmcmahon/linuxcnc-mirror,EqAfrica/machinekit,ikcalB/linuxcnc-mirror,araisrobo/machinekit,Cid427/machinekit,strahlex/machinekit,unseenlaser/machinekit,EqAfrica/machinekit,narogon/linuxcnc,jaguarcat79/ILC-with-LinuxCNC,ArcEye/MK-Qt5,ianmcmahon/linuxcnc-mirror,bmwiedemann/linuxcnc-mirror,ArcEye/MK-Qt5,Cid427/machinekit,Cid427/machinekit,cnc-club/linuxcnc,cdsteinkuehler/linuxcnc,cnc-club/linuxcnc,aschiffler/linuxcnc,bmwiedemann/linuxcnc-mirror,unseenlaser/linuxcnc,EqAfrica/machinekit,cdsteinkuehler/MachineKit,ArcEye/machinekit-testing,ianmcmahon/linuxcnc-mirror,jaguarcat79/ILC-with-LinuxCNC,bobvanderlinden/machinekit,Cid427/machinekit,unseenlaser/linuxcnc,mhaberler/machinekit,narogon/linuxcnc,cnc-club/linuxcnc,araisrobo/machinekit,ArcEye/MK-Qt5,RunningLight/machinekit,jaguarcat79/ILC-with-LinuxCNC,kinsamanka/machinekit,RunningLight/machinekit,ArcEye/MK-Qt5,ArcEye/machinekit-testing,cdsteinkuehler/MachineKit,EqAfrica/machinekit,unseenlaser/linuxcnc,cdsteinkuehler/MachineKit,ArcEye/MK-Qt5,ArcEye/machinekit-testing,Cid427/machinekit,ArcEye/MK-Qt5,unseenlaser/machinekit,narogon/linuxcnc,mhaberler/machinekit,cnc-club/linuxcnc,narogon/linuxcnc,araisrobo/machinekit,EqAfrica/machinekit,unseenlaser/machinekit,cnc-club/linuxcnc,kinsamanka/machinekit,RunningLight/machinekit,ArcEye/machinekit-testing,bobvanderlinden/machinekit,ArcEye/machinekit-testing,ikcalB/linuxcnc-mirror,ArcEye/machinekit-testing