Fix broken ProgressBarMessage after 8f596e29b3
This commit is contained in:
parent
a47e69d74e
commit
e00a81a961
@ -302,6 +302,7 @@ public:
|
||||
ProgressBarMessage(const core::stringw& msg) :
|
||||
Message(9999999.9f, msg)
|
||||
{
|
||||
m_swc.m_next = new SkinWidgetContainer;
|
||||
} // ProgressBarMessage
|
||||
// ------------------------------------------------------------------------
|
||||
~ProgressBarMessage() { g_progress.store(-1); }
|
||||
|
@ -33,8 +33,8 @@ using namespace irr;
|
||||
ProgressBarWidget::ProgressBarWidget(bool show_label) : Widget(WTYPE_PROGRESS)
|
||||
{
|
||||
// A progress bar consists of two parts, so need two containers
|
||||
m_next = new SkinWidgetContainer;
|
||||
|
||||
m_next = new SkinWidgetContainer;
|
||||
|
||||
m_value = 0;
|
||||
m_target_value = 0;
|
||||
m_previous_value = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user