QCAD Bugtracker

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category QCAD (main)
  • Assigned To
    Andrew
  • Operating System All
  • Severity Very Low
  • Priority Defer
  • Reported Version n/a
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: QCAD Bugtracker
Opened by Matthew Rench - 10.04.2012
Last edited by Andrew - 02.03.2013

FS#540 - "pa" ("parallel") keycode triggers wrong action

In the latest QCAD Community Edition source code (2.0.5.0-1-community), the wrong action is triggered for the “pa” keycode. Specifically, it triggers the basic draw line command. Here is the relevant code from qcadcmd/src/rs_commands.cpp, in RS_Commands::keycodeToAction:

  } else if (c==tr("li", "line")) {
      ret = RS2::ActionDrawLine;
  } else if (c==tr("pa", "parallel")) {
      ret = RS2::ActionDrawLine;

I believe this should instead be:

  } else if (c==tr("li", "line")) {
      ret = RS2::ActionDrawLine;
  } else if (c==tr("pa", "parallel")) {
      ret = RS2::ActionDrawLineParallel;
Closed by  Andrew
02.03.2013 14:40
Reason for closing:  Won't fix
Additional comments about closing:  

Outdated.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing