| commit | 5cbaec2ffd289f6b3e1dce15c00d5b1d3c2f815e | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Wed Feb 05 16:42:34 2020 +0000 |
| committer | Michael Stahl <michael.stahl@cib.de> | Fri Feb 07 11:11:27 2020 +0100 |
| tree | 59016288dbf81d9b105df382827192be451ff309 | |
| parent | ddc8bf253cacbc1b65956e84a6f3df30d060b19d [diff] |
Resolves: tdf#130340 null deref when nothing selected Change-Id: Ie406006cbcca566ddd32fd86a7e88f0c754dd02e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88048 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 24a601d..4bdeaab 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx
@@ -1182,7 +1182,7 @@ IMPL_LINK(SfxAcceleratorConfigPage, SelectHdl, weld::TreeView&, rListBox, void) m_xRemoveButton->set_sensitive( false ); m_xChangeButton->set_sensitive( false ); if (pEntry->m_bIsConfigurable) if (pEntry && pEntry->m_bIsConfigurable) { if (pEntry->isConfigured()) m_xRemoveButton->set_sensitive(true);