mirror of
https://github.com/miek/inspectrum.git
synced 2026-03-03 15:04:19 +01:00
Fix infinite loop when exporitng samples
This commit is contained in:
@@ -113,8 +113,8 @@ void PlotView::contextMenuEvent(QContextMenuEvent * event)
|
||||
save->setEnabled(src->sampleType() == typeid(std::complex<float>));
|
||||
menu.addAction(save);
|
||||
|
||||
if (menu.exec(event->globalPos()))
|
||||
updateView(false);
|
||||
updateView(false);
|
||||
menu.exec(event->globalPos());
|
||||
}
|
||||
|
||||
void PlotView::cursorsMoved()
|
||||
|
||||
Reference in New Issue
Block a user