diff --git a/code/ryzom/client/src/interface_v3/group_map.cpp b/code/ryzom/client/src/interface_v3/group_map.cpp index 28eb5e1e3..e9864b61b 100644 --- a/code/ryzom/client/src/interface_v3/group_map.cpp +++ b/code/ryzom/client/src/interface_v3/group_map.cpp @@ -2739,6 +2739,7 @@ void CGroupMap::removeUserLandMark(CCtrlButton *button) updateUserLandMarks(); } + CInterfaceManager::getInstance()->saveLandmarks(); return; } } @@ -2758,6 +2759,8 @@ void CGroupMap::updateUserLandMark(CCtrlButton *button, const ucstring &newTitle updateLandMarkButton(_UserLM[k], getUserLandMarkOptions(k)); button->setDefaultContextHelp(newTitle); + + CInterfaceManager::getInstance()->saveLandmarks(); return; } } diff --git a/code/ryzom/client/src/interface_v3/interface_manager.cpp b/code/ryzom/client/src/interface_v3/interface_manager.cpp index bc606f939..80c6c552b 100644 --- a/code/ryzom/client/src/interface_v3/interface_manager.cpp +++ b/code/ryzom/client/src/interface_v3/interface_manager.cpp @@ -3096,7 +3096,6 @@ class CAHSaveUI : public IActionHandler { CInterfaceManager::getInstance()->saveKeys(true); CInterfaceManager::getInstance()->saveConfig(true); - CInterfaceManager::getInstance()->saveLandmarks(true); } }; REGISTER_ACTION_HANDLER (CAHSaveUI, "save_ui");