diff --git a/src/gui/opkg_manager.cpp b/src/gui/opkg_manager.cpp index 529a01b53..071e21f1e 100644 --- a/src/gui/opkg_manager.cpp +++ b/src/gui/opkg_manager.cpp @@ -33,7 +33,7 @@ #include #endif -#include +#include "opkg_manager.h" #include /* hack, so we don't have to change all code below */ #define CShellWindow CTermWindow @@ -463,9 +463,9 @@ bool COPKGManager::checkUpdates(const std::string & package_name, bool show_prog size_t i = 0; CProgressWindow status; - status.showHeader(false); if (show_progress){ + status.showHeader(false); status.paint(); status.showStatusMessageUTF(g_Locale->getText(LOCALE_OPKG_UPDATE_READING_LISTS)); status.showStatus(25); /* after do_update, we have actually done the hardest work already */