diff --git a/src/musredit_qt5/mupp/Pmupp.cpp b/src/musredit_qt5/mupp/Pmupp.cpp index 22ba68b4..382f6c20 100644 --- a/src/musredit_qt5/mupp/Pmupp.cpp +++ b/src/musredit_qt5/mupp/Pmupp.cpp @@ -262,7 +262,6 @@ bool PParamDataHandler::analyzeFileList(const QStringList &fln, QString &collect bool PParamDataHandler::ReadParamFile(const QStringList fln, QString &errorMsg) { bool valid = true; - PmuppRun run; PmuppCollection collection; QString collName(""); diff --git a/src/musredit_qt5/mupp/PmuppGui.cpp b/src/musredit_qt5/mupp/PmuppGui.cpp index b0b11ccc..95f0ea9f 100644 --- a/src/musredit_qt5/mupp/PmuppGui.cpp +++ b/src/musredit_qt5/mupp/PmuppGui.cpp @@ -990,9 +990,11 @@ void PmuppGui::remove() updateXYList(fColList->currentRow()); // if there no collections left remove all the parameters from the X/Y list + // remove all fXY as well if (fColList->count() == 0) { fViewX->clear(); fViewY->clear(); + fXY.clear(); return; }