From 4162308950c46aa6e684bba76ca715f9a5683204 Mon Sep 17 00:00:00 2001 From: nonlin-lin-chaos-order-etc-etal Date: Fri, 6 Dec 2024 02:29:24 +0800 Subject: [PATCH] Fix saving configs --- src/mainwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.h b/src/mainwindow.h index b40fddc..581dbe1 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -160,7 +160,7 @@ public: out << boost::any_cast(optionValue); }else if(isType(optionValue)) { out << boost::any_cast(optionValue); - }if(isType(optionValue)) { + }else if(isType(optionValue)) { out << boost::any_cast(optionValue); }else if(isType(optionValue)) { out << boost::any_cast(optionValue);