Re: Can't select horizontal and vertical dimension tabs

Posted by ravas on
URL: https://forum.librecad.org/Can-t-select-horizontal-and-vertical-dimension-tabs-tp5712276p5712651.html

What operating system are you using? It works for me on Windows 7.

A possible clue is that all three of these use RS_ActionDimLinear:
    case RS2::ActionDimLinear:
        a = new RS_ActionDimLinear(*document, *view);
        break;
    case RS2::ActionDimLinearHor:
        a = new RS_ActionDimLinear(*document, *view, 0.0, true, RS2::ActionDimLinearHor);
        break;
    case RS2::ActionDimLinearVer:
        a = new RS_ActionDimLinear(*document, *view, M_PI_2, true, RS2::ActionDimLinearVer);
        break;
https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/ui/qg_actionhandler.cpp
https://github.com/LibreCAD/LibreCAD/blob/master/librecad/src/actions/rs_actiondimlinear.cpp