mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 06:53:37 +00:00
Automatically adjust domain of graph to dropped trace
This commit is contained in:
parent
20b0b336bb
commit
f6cc46781e
7 changed files with 43 additions and 4 deletions
|
|
@ -36,6 +36,8 @@ void TraceWidget::on_add_clicked()
|
|||
auto t = new Trace("Trace #"+QString::number(createCount), Qt::darkYellow, defaultParameter());
|
||||
t->setColor(QColor::fromHsl((createCount * 50) % 360, 250, 128));
|
||||
model.addTrace(t);
|
||||
ui->view->selectRow(model.getTraces().size() - 1);
|
||||
on_edit_clicked();
|
||||
}
|
||||
|
||||
void TraceWidget::on_remove_clicked()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue