Fix infinite loop when exporitng samples

This commit is contained in:
Eoin Mcloughlin
2016-10-02 12:24:11 +01:00
parent b2068f5f44
commit 9c0359fd40

View File

@@ -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()