From 24d226a5ca59c20e7bc2ba8aa1854e4a9926491a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 12 Jan 2019 20:18:53 +0100 Subject: [PATCH] moviebrowser: load movies and refresh gui after menu only if needed Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/a91a2460c73f9819ac8d12eed43d0dad0da396af Author: vanhofen Date: 2019-01-12 (Sat, 12 Jan 2019) Origin message was: ------------------ - moviebrowser: load movies and refresh gui after menu only if needed ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/moviebrowser/mb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index 890284753..aecd1049f 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -2226,9 +2226,9 @@ bool CMovieBrowser::onButtonPressMainFrame(neutrino_msg_t msg) else { showMenu(); - //if (m_doLoadMovies) + if (m_doLoadMovies) loadMovies(); - //if (m_doRefresh) + if (m_doRefresh) refresh(); } saveSettings(&m_settings);