From d88fbc1bdd0be60d40de197b9b0a5eb990e23fed Mon Sep 17 00:00:00 2001 From: Nikola Maric Date: Wed, 13 Dec 2017 22:51:34 +0100 Subject: [PATCH] AddModuleWindow search bugfix. * Fixed a bug where application would exit ungracefully when you start typing in add module window. --- src/app/AddModuleWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/AddModuleWindow.cpp b/src/app/AddModuleWindow.cpp index 48f2d91d..e19dd3c6 100644 --- a/src/app/AddModuleWindow.cpp +++ b/src/app/AddModuleWindow.cpp @@ -88,7 +88,7 @@ struct MetadataMenu : ListMenu { static bool isModelMatch(Model *model, std::string search) { // Build content string - std::string str; + std::string str = ""; str += model->manufacturer; str += " "; str += model->name;