From 5dd6787d0cddda1b69ca6047db0625269317c5ac Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Sat, 12 Apr 2014 21:04:11 -0400 Subject: [PATCH] fix replicate bug, when not all settings were copied --- src/atom.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/atom.cpp b/src/atom.cpp index 19d7fd9685..cd471e581d 100644 --- a/src/atom.cpp +++ b/src/atom.cpp @@ -297,6 +297,13 @@ void Atom::settings(Atom *old) tag_enable = old->tag_enable; map_user = old->map_user; map_style = old->map_style; + sortfreq = old->sortfreq; + userbinsize = old->userbinsize; + if (old->firstgroupname) { + int n = strlen(old->firstgroupname) + 1; + firstgroupname = new char[n]; + strcpy(firstgroupname,old->firstgroupname); + } } /* ----------------------------------------------------------------------