Kaydet (Commit) 30442580 authored tarafından Henry Castro's avatar Henry Castro

sw lok: fix "Cannot deselect the shape after inserting the first in a...

document"

Change-Id: I976318fe299306b65190b4f5ae0ed2565830c6f7
Reviewed-on: https://gerrit.libreoffice.org/70475
Tested-by: Jenkins
Reviewed-by: 's avatarJan Holesovsky <kendy@collabora.com>
Reviewed-by: 's avatarHenry Castro <hcastro@collabora.com>
üst 6340daac
......@@ -347,6 +347,10 @@ void SwView::ExecDraw(SfxRequest& rReq)
{
m_pWrtShell->GotoObj(true);
}
else if (dynamic_cast<ConstCustomShape*>(pTempFuncPtr))
{
pTempFuncPtr->CreateDefaultObject();
}
else
{
pTempFuncPtr->CreateDefaultObject();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment