From c0b251fa7645bf550d177f8cc0eab2009baa31aa Mon Sep 17 00:00:00 2001 From: klugier Date: Sat, 13 Aug 2016 18:25:11 +0000 Subject: [PATCH] .ide Array of methods is cleared when load operation occures (resolved issue with duplicated methods on importing) git-svn-id: svn://ultimatepp.org/upp/trunk@10166 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/Methods.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uppsrc/ide/Methods.cpp b/uppsrc/ide/Methods.cpp index aee70028c..84d36ebf3 100644 --- a/uppsrc/ide/Methods.cpp +++ b/uppsrc/ide/Methods.cpp @@ -535,6 +535,8 @@ void BuildMethods::ChangeMethod() void BuildMethods::Load() { + method.Clear(); + FindFile ff(ConfigFile("*.bm")); while(ff) { VectorMap map;