mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +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
|
|
@ -213,7 +213,7 @@ void TracePlot::dragEnterEvent(QDragEnterEvent *event)
|
|||
quintptr dropPtr;
|
||||
stream >> dropPtr;
|
||||
auto trace = (Trace*) dropPtr;
|
||||
if(supported(trace)) {
|
||||
if(dropSupported(trace)) {
|
||||
event->acceptProposedAction();
|
||||
dropPending = true;
|
||||
dropTrace = trace;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue