change paintGL to return if window is minimized

This commit is contained in:
Triplelexx 2017-04-06 17:06:06 +01:00
parent 384f404602
commit 1b2887d5b1

View file

@ -2071,7 +2071,7 @@ void Application::initializeUi() {
void Application::paintGL() {
// Some plugins process message events, allowing paintGL to be called reentrantly.
if (_inPaint || _aboutToQuit) {
if (_inPaint || _aboutToQuit || _window->isMinimized()) {
return;
}