Commit a7d09181 authored by Sergey Luzyanin's avatar Sergey Luzyanin Committed by GitHub

Merge pull request #46 from ONLYOFFICE/release/v4.1.0

fix Bug 33001
parents a2b46da7 6b9771e8
......@@ -4724,6 +4724,7 @@ function CThumbnailsManager()
if (this.m_oWordControl.m_oLogicDocument.viewMode === false)
{
editor.DublicateSlide();
e.preventDefault();
return false;
}
}
......
......@@ -2652,10 +2652,15 @@ CPresentation.prototype =
else if ( e.KeyCode == 68 && false === editor.isViewMode && true === e.CtrlKey )
{
if(this.Slides[this.CurPage]){
this.Create_NewHistoryPoint(AscDFH.historydescription_Document_SetParagraphAlignHotKey);
this.Slides[this.CurPage].copySelectedObjects();
this.Recalculate();
this.Document_UpdateInterfaceState();
if(this.Slides[this.CurPage].graphicObjects.selectedObjects.length > 0){
this.Create_NewHistoryPoint(AscDFH.historydescription_Document_SetParagraphAlignHotKey);
this.Slides[this.CurPage].copySelectedObjects();
this.Recalculate();
this.Document_UpdateInterfaceState();
}
else{
this.DublicateSlide();
}
}
bRetValue = keydownresult_PreventAll;
}
......
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