From 1f18b4531adb6a0af6bc3033d3723ad533c01f8e Mon Sep 17 00:00:00 2001 From: Andreas Suter Date: Sat, 26 Dec 2020 11:54:18 +0100 Subject: [PATCH] fix minor '=' vs '==' bug. --- src/musredit_qt5/mupp/PmuppGui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/musredit_qt5/mupp/PmuppGui.cpp b/src/musredit_qt5/mupp/PmuppGui.cpp index f7a15f40..c3d425d2 100644 --- a/src/musredit_qt5/mupp/PmuppGui.cpp +++ b/src/musredit_qt5/mupp/PmuppGui.cpp @@ -1314,7 +1314,7 @@ void PmuppGui::addVar() // call variable dialog if (fVarDlg != nullptr) { delete fVarDlg; - fVarDlg == nullptr; + fVarDlg = nullptr; } fVarDlg = new PVarDialog(collection_list, fDarkTheme); connect(fVarDlg, SIGNAL(check_request(QString,QVector)), this, SLOT(check(QString,QVector)));