Fixed: Save landmarks immediately on change

--HG--
branch : develop
feature/pipeline-tools
Nimetu 6 years ago
parent 2f0a831d52
commit ab7ad10796

@ -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;
}
}

@ -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");

Loading…
Cancel
Save