Skip to content

Commit

Permalink
gui: correct net descriptor sink/source for bterms
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Gadfort <peter.gadfort.civ@army.mil>
  • Loading branch information
gadfort committed Dec 2, 2021
1 parent 03b1809 commit 5da9458
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/src/dbDescriptors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -843,13 +843,13 @@ void DbNetDescriptor::highlight(std::any object,

auto is_source_bterm = [](odb::dbBTerm* bterm) -> bool {
const auto iotype = bterm->getIoType();
return iotype == odb::dbIoType::OUTPUT ||
return iotype == odb::dbIoType::INPUT ||
iotype == odb::dbIoType::INOUT ||
iotype == odb::dbIoType::FEEDTHRU;
};
auto is_sink_bterm = [](odb::dbBTerm* bterm) -> bool {
const auto iotype = bterm->getIoType();
return iotype == odb::dbIoType::INPUT ||
return iotype == odb::dbIoType::OUTPUT ||
iotype == odb::dbIoType::INOUT ||
iotype == odb::dbIoType::FEEDTHRU;
};
Expand Down

0 comments on commit 5da9458

Please sign in to comment.