From c0712f210a01cae8665e20b01029c32cc148945f Mon Sep 17 00:00:00 2001 From: johanneshilden Date: Thu, 12 Oct 2017 22:47:10 +0300 Subject: [PATCH] Add call to update in setOverlayMode --- components/qtmaterialdrawer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/components/qtmaterialdrawer.cpp b/components/qtmaterialdrawer.cpp index 8f44093..1bddd47 100644 --- a/components/qtmaterialdrawer.cpp +++ b/components/qtmaterialdrawer.cpp @@ -136,6 +136,7 @@ void QtMaterialDrawer::setOverlayMode(bool value) Q_D(QtMaterialDrawer); d->overlay = value; + update(); } bool QtMaterialDrawer::overlayMode() const