mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Valgrind memory bugfixes + auto port extension
This commit is contained in:
parent
7f691bd37d
commit
a5c9f1e3d3
19 changed files with 183 additions and 45 deletions
|
|
@ -75,7 +75,7 @@ void TracePlot::updateContextMenu()
|
|||
contextmenu->addSection("Traces");
|
||||
// Populate context menu
|
||||
for(auto t : traces) {
|
||||
auto action = new QAction(t.first->name());
|
||||
auto action = new QAction(t.first->name(), contextmenu);
|
||||
action->setCheckable(true);
|
||||
if(t.second) {
|
||||
action->setChecked(true);
|
||||
|
|
@ -86,7 +86,7 @@ void TracePlot::updateContextMenu()
|
|||
contextmenu->addAction(action);
|
||||
}
|
||||
contextmenu->addSeparator();
|
||||
auto close = new QAction("Close");
|
||||
auto close = new QAction("Close", contextmenu);
|
||||
contextmenu->addAction(close);
|
||||
connect(close, &QAction::triggered, [=]() {
|
||||
markedForDeletion = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue