Browse Source

Use "From/To" in cable tooltip depending on port type.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
00bd49e2b7
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/app/PortWidget.cpp

+ 4
- 1
src/app/PortWidget.cpp View File

@@ -55,7 +55,10 @@ struct PortTooltip : ui::Tooltip {
if (!otherPw)
continue;
text += "\n";
text += "Connected to ";
if (portWidget->type == engine::Port::INPUT)
text += "From ";
else
text += "To ";
text += otherPw->module->model->getFullName();
text += ": ";
text += otherPw->getPortInfo()->getName();


Loading…
Cancel
Save