summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-10 11:02:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-11 10:06:29 +0100
commit5229cacba320f829ca0acd6ef79ddbb09d52b2d9 (patch)
tree741b1cba86246bfc1d046fea47eb7c1e60ff7759
parent51144537404beb2341fae7e0c9de9b121b222c0e (diff)
schedule redraw to draw without focus
Change-Id: I9a33811d0d806b686f0b226a81e53d2181f8c822 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112260 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sd/source/ui/sidebar/LayoutMenu.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/sidebar/LayoutMenu.cxx b/sd/source/ui/sidebar/LayoutMenu.cxx
index 29b4350aef18..41261b20c17d 100644
--- a/sd/source/ui/sidebar/LayoutMenu.cxx
+++ b/sd/source/ui/sidebar/LayoutMenu.cxx
@@ -707,7 +707,7 @@ IMPL_LINK(LayoutMenu, EventMultiplexerListener, ::sd::tools::EventMultiplexerEve
break;
case EventMultiplexerEventId::MainViewRemoved:
- HideFocus();
+ mxLayoutValueSet->Invalidate(); // redraw without focus
break;
case EventMultiplexerEventId::ConfigurationUpdated: