From dcf3fdf782b4aa42526422509825c89d5a17aa97 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Tue, 29 Sep 2015 10:59:53 +0200 Subject: [PATCH] Make sure object list is cleared when selecting a type which does not have any objects refs #10235 --- icinga-studio/api.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/icinga-studio/api.cpp b/icinga-studio/api.cpp index 2fd0d7803..71f085c93 100644 --- a/icinga-studio/api.cpp +++ b/icinga-studio/api.cpp @@ -129,7 +129,6 @@ void ApiClient::ObjectsHttpCompletionCallback(HttpRequest& request, if (response.StatusCode < 200 || response.StatusCode > 299) { Log(LogCritical, "ApiClient") << "Failed HTTP request; Code: " << response.StatusCode << "; Body: " << body; - return; } else { try { result = JsonDecode(body);