small bug, Draft GUI setfocus lengthValue also if it's not visible
Created by: carlopav
If set focus on length instead of x coordinate is checked, Draft set the focus on it also if the lengthValue inputbox is not visible (this happens with pointui activated). Now setfocus checks if lengthValue is visible before setting focus to it.
Thank you for creating a pull request to contribute to FreeCAD! To ease integration, please confirm the following:
-
Branch rebased on latest master git pull --rebase upstream master
-
Unit tests confirmed to pass by running ./bin/FreeCAD --run-test 0
-
Commit message is well-written -
Commit message includes issue #<id>
orfixes #<id>
where<id>
is the associated MantisBT issue id if one exists
And please remember to update the Wiki with the features added or changed once this PR is merged.
Note: If you don't have wiki access, then please mention your contribution on the 0.19 Changelog Forum Thread.