Fix lpf button action

This commit is contained in:
Miodrag Milanovic 2018-11-03 10:03:27 +01:00
parent aed04ae6f2
commit 27fcaf50d2

View File

@ -154,6 +154,7 @@ void MainWindow::open_lpf()
if (ctx->applyLPF(fileName.toStdString(), in)) {
log("Loading LPF successful.\n");
actionPack->setEnabled(true);
actionLoadLPF->setEnabled(false);
} else {
actionLoadLPF->setEnabled(true);
log("Loading LPF failed.\n");