Skip to content

Commit

Permalink
Force update when blocker message changes
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Jan 23, 2017
1 parent 8af4c2d commit 5e0e08c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions radiant/ui/mainframe/ScreenUpdateBlocker.cpp
Expand Up @@ -104,6 +104,9 @@ void ScreenUpdateBlocker::setProgress(float progress)
_gauge->SetValue(static_cast<int>(progress * 100));

_pulseAllowed = false;

Refresh();
Update();
}

void ScreenUpdateBlocker::setMessage(const std::string& message)
Expand All @@ -118,6 +121,9 @@ void ScreenUpdateBlocker::setMessage(const std::string& message)
Fit();
CenterOnParent();
}

Refresh();
Update();
}

void ScreenUpdateBlocker::onMainWindowFocus(wxFocusEvent& ev)
Expand Down

0 comments on commit 5e0e08c

Please sign in to comment.