summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/line/LinePropertyPanel.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-07 10:07:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-07 14:14:42 +0100
commit86ffa73ed04900a33160cb6b28a8898fe139396d (patch)
treef098e558cd21c5ae82b5bc5989cb236791e0dfbe /svx/source/sidebar/line/LinePropertyPanel.cxx
parente5f9fd49d15071532bbef19e8622c8f6cac9ece9 (diff)
arrow in sidebar not getting reenabled on changing context
possibly since... commit 5b77d17c4f1ca734babf962b45c1aa07bdca14e9 Date: Sat Jan 4 18:09:20 2020 +0000 sidebar: allow panels to lurk around instead of being disposed. Change-Id: I4d3085a1bd0ceb5f04dba3e49c801df05b795061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86332 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/sidebar/line/LinePropertyPanel.cxx')
-rw-r--r--svx/source/sidebar/line/LinePropertyPanel.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/svx/source/sidebar/line/LinePropertyPanel.cxx b/svx/source/sidebar/line/LinePropertyPanel.cxx
index d8dd5fb17498..344d8a02961b 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.cxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.cxx
@@ -193,8 +193,10 @@ void LinePropertyPanel::HandleContextChange(
break;
}
- if(!bShowArrows)
+ if (!bShowArrows)
disableArrowHead();
+ else
+ enableArrowHead();
}
void LinePropertyPanel::setLineStyle(const XLineStyleItem& rItem)