From c73794663332ad7c3698265e00ca0add31b67087 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Tue, 21 Jul 2020 10:47:39 +0300 Subject: [PATCH] Fix stats info bug --- applications/gui2/src/modules/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/gui2/src/modules/camera.cpp b/applications/gui2/src/modules/camera.cpp index e16f381a4..d7ae38c5d 100644 --- a/applications/gui2/src/modules/camera.cpp +++ b/applications/gui2/src/modules/camera.cpp @@ -173,7 +173,7 @@ void Camera::initiate_(ftl::data::Frame &frame) { auto *mod = this->screen->getModule<ftl::gui2::Statistics>(); - mod->getJSON(StatisticsPanel::PERFORMANCE_INFO).erase("FPS"); + mod->getJSON(StatisticsPanel::PERFORMANCE_INFO).clear(); mod->getJSON(StatisticsPanel::MEDIA_STATUS).clear(); mod->getJSON(StatisticsPanel::MEDIA_META).clear(); mod->getJSON(StatisticsPanel::CAMERA_DETAILS).clear(); -- GitLab