Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jankae/LibreVNA
Browse files Browse the repository at this point in the history
  • Loading branch information
jankae committed Jun 2, 2024
2 parents b2d07d5 + 61db859 commit aeea133
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Software/PC_Application/LibreVNA-GUI/Traces/trace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ Trace::Trace(QString name, QColor color, QString live)
Trace::~Trace()
{
emit deleted(this);
// delete math operations. The first math operation is the trace itself, only delete any additional operations
while(mathOps.size() > 1) {
removeMathOperation(mathOps.size()-1);
}
}

void Trace::clear(bool force) {
Expand Down

0 comments on commit aeea133

Please sign in to comment.