Commits

Matthew Jones  committed dc76fb1

Show the tags in the edit interface... not yet saving

  • Participants
  • Parent commits d30a49a

Comments (0)

Files changed (2)

File src/com/matburt/mobileorg/Parsing/Node.java

         return null;
     }
 
+    void setTags(ArrayList<String> todoList) {
+        this.tags.clear();
+        this.tagString = "";
+        this.tags.addAll(todoList);
+        for (String titem : todoList) {
+            this.tagString += titem + " ";
+        }
+        this.tagString = this.tagString.trim();
+    }
+
     void setParentNode(Node pnode) {
         this.parentNode = pnode;
     }

File src/com/matburt/mobileorg/Parsing/OrgFileParser.java

                     newNode.setFullTitle(this.stripTitle(title));
                     newNode.todo = titleComp.todo;
                     newNode.priority = titleComp.priority;
-                    newNode.tags.addAll(titleComp.tags);
+                    newNode.setTags(titleComp.tags);
                     if (numstars > starStack.peek()) {
                         try {
                             Node lastNode = nodeStack.peek();