Fix lpf button action
This commit is contained in:
parent
aed04ae6f2
commit
27fcaf50d2
@ -154,6 +154,7 @@ void MainWindow::open_lpf()
|
|||||||
if (ctx->applyLPF(fileName.toStdString(), in)) {
|
if (ctx->applyLPF(fileName.toStdString(), in)) {
|
||||||
log("Loading LPF successful.\n");
|
log("Loading LPF successful.\n");
|
||||||
actionPack->setEnabled(true);
|
actionPack->setEnabled(true);
|
||||||
|
actionLoadLPF->setEnabled(false);
|
||||||
} else {
|
} else {
|
||||||
actionLoadLPF->setEnabled(true);
|
actionLoadLPF->setEnabled(true);
|
||||||
log("Loading LPF failed.\n");
|
log("Loading LPF failed.\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user