summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-01 21:15:31 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-01 21:15:31 -0500
commit2ae2c47a38fb9ba93da4c58245b662ed4a7951b2 (patch)
tree80106aed253406b13582153815a16302b6cf95f1 /src
parent449c7ca790f62b30594e845e0c1bab07c44850af (diff)
downloadfork-ledger-2ae2c47a38fb9ba93da4c58245b662ed4a7951b2.tar.gz
fork-ledger-2ae2c47a38fb9ba93da4c58245b662ed4a7951b2.tar.bz2
fork-ledger-2ae2c47a38fb9ba93da4c58245b662ed4a7951b2.zip
When copying an item, copy its metadata
Diffstat (limited to 'src')
-rw-r--r--src/item.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/item.h b/src/item.h
index 28eb3f80..c9c4af26 100644
--- a/src/item.h
+++ b/src/item.h
@@ -143,6 +143,7 @@ public:
_date_eff = item._date_eff;
note = item.note;
pos = item.pos;
+ metadata = item.metadata;
}
virtual bool operator==(const item_t& xact) {