From 4ded6e352ee0fb5d96d2e1b9f051aac1f07b4886 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Mon, 20 Apr 2020 21:51:58 +0200 Subject: Rework group saving save / saveParent write back to the original group saveParent saves changes in child groups (openAsChild) by saving the top-most parent saveAs / saveAsOverwrite resembles the old save / saveOverwrite For all other saving methods, groups opend with openAsChild are saved as if there was no parent --- examples/c4copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/c4copy.c') diff --git a/examples/c4copy.c b/examples/c4copy.c index 30cf95c..619b658 100644 --- a/examples/c4copy.c +++ b/examples/c4copy.c @@ -33,7 +33,7 @@ int main(int argc, char* argv[]) } - success = cc4group.save(group, argv[2]); + success = cc4group.saveAs(group, argv[2]); if(!success) { -- cgit v1.2.3-54-g00ecf