Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-07-19 12:36:20 +0300
committerSergey Magidovich <mgsergio@mapswithme.com>2016-07-19 13:36:43 +0300
commitdac65e509fabfe29d6d51ac25b61b017bf077a46 (patch)
tree0a95db802fc63467c68804343b7237c4875e4e56 /indexer/osm_editor.hpp
parente943947615f95bd9da5788ca87dec29a78101359 (diff)
Fix crash in created feature editing.
Diffstat (limited to 'indexer/osm_editor.hpp')
-rw-r--r--indexer/osm_editor.hpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/indexer/osm_editor.hpp b/indexer/osm_editor.hpp
index 109b089600..a17da2477f 100644
--- a/indexer/osm_editor.hpp
+++ b/indexer/osm_editor.hpp
@@ -47,11 +47,13 @@ public:
enum class FeatureStatus
{
- Untouched,
- Deleted,
- Obsolete, // The feature is obsolete when is marked for deletion via note.
- Modified,
- Created
+ Untouched, // The feature hasn't been saved in the editor.
+ Deleted, // The feature has been marked as deleted.
+ Obsolete, // The feature has been marked for deletion via note.
+ Modified, // The feature has been saved in the editor and differs from the original one.
+ Created // The feature was created by a user and has been saved in the editor.
+ // Note: If a feature was created by a user but hasn't been saved in the editor yet
+ // its status is Untouched.
};
static Editor & Instance();