OSDN Git Service

Correct problems when renaming stacks.
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / sql / NotebookTable.java
index 5da5f54..3cf3ab0 100644 (file)
@@ -736,7 +736,7 @@ public class NotebookTable {
                        return;\r
                }\r
                \r
-               if (!query.prepare("update SystemIcon set stack=:newName where stack=:oldName and type='STACK'")) {\r
+               if (!query.prepare("update SystemIcon set name=:newName where name=:oldName and type='STACK'")) {\r
                        logger.log(logger.EXTREME, "Error preparing icon rename in renameStacks.");\r
                        return;\r
                }\r