summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Zotti <Georg.Zotti@univie.ac.at>2023-07-27 11:59:33 +0200
committerGeorg Zotti <Georg.Zotti@univie.ac.at>2023-07-27 11:59:33 +0200
commite99a0f667acede579678a30828afd088feeaf255 (patch)
treef400896892e8e64fb3b79d2b853d196dd7dd049f
parente77cb308a60199dee0bba27fddfccba73bfc9177 (diff)
Improve usabilitygz_NomenclaturePlotFixes
- add immediate config storage mode for all detail settings of NomenclatureItems
-rw-r--r--src/core/modules/NomenclatureMgr.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/modules/NomenclatureMgr.cpp b/src/core/modules/NomenclatureMgr.cpp
index bc6ebcf42e..49175c2087 100644
--- a/src/core/modules/NomenclatureMgr.cpp
+++ b/src/core/modules/NomenclatureMgr.cpp
@@ -569,6 +569,7 @@ bool NomenclatureMgr::getFlagOutlineCraters() const
void NomenclatureMgr::setFlagHideLocalNomenclature(bool b)
{
NomenclatureItem::hideLocalNomenclature = b;
+ conf->setValue("astro/flag_hide_local_nomenclature", b);
emit localNomenclatureHidingChanged(b);
}
@@ -580,6 +581,7 @@ bool NomenclatureMgr::getFlagHideLocalNomenclature() const
void NomenclatureMgr::setFlagShowSpecialNomenclatureOnly(bool b)
{
NomenclatureItem::showSpecialNomenclatureOnly = b;
+ conf->setValue("astro/flag_special_nomenclature_only", b);
emit specialNomenclatureOnlyDisplayingChanged(b);
}