From 5ec954dbb5b481f4549aa3d28b4653923f8f0aa6 Mon Sep 17 00:00:00 2001 From: Bruno Date: Mon, 16 Aug 2021 22:55:21 +0200 Subject: [PATCH] UI fix --- Streamer.cpp | 2 +- UserInterfaceManager.cpp | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Streamer.cpp b/Streamer.cpp index da091d2..d2247c2 100644 --- a/Streamer.cpp +++ b/Streamer.cpp @@ -413,7 +413,7 @@ void VideoStreamer::terminate() } Log::Notify("Streaming to %s finished after %s s.", config_.client_name.c_str(), - GstToolkit::time_to_string(timestamp_).c_str()); + GstToolkit::time_to_string(duration_).c_str()); } void VideoStreamer::stop () diff --git a/UserInterfaceManager.cpp b/UserInterfaceManager.cpp index f6c295d..f0833b8 100644 --- a/UserInterfaceManager.cpp +++ b/UserInterfaceManager.cpp @@ -345,10 +345,14 @@ void UserInterface::handleKeyboard() else if (navigator.pannelVisible()) navigator.hidePannel(); // 3. hide windows - else if (Settings::application.widget.preview || Settings::application.widget.media_player || Settings::application.widget.history) { + else if (Settings::application.widget.preview || + Settings::application.widget.media_player || + Settings::application.widget.history || + Settings::application.widget.logs) { Settings::application.widget.preview = false; Settings::application.widget.media_player = false; Settings::application.widget.history = false; + Settings::application.widget.logs = false; } // 4. cancel selection else if (!Mixer::selection().empty()) {