0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-09-23 08:29:07 +03:00

Merge pull request #72 from asmaloney/fix-crash

Fix crash when cutting an item using the context menu
This commit is contained in:
fralx
2017-04-10 11:18:53 +03:00
committed by GitHub

View File

@@ -1180,7 +1180,10 @@ void BaseDesignIntf::contextMenuEvent(QGraphicsSceneContextMenuEvent *event)
QAction* a = menu.exec(event->screenPos());
if (a){
if (a == cutAction)
{
page->cut();
return;
}
if (a == copyAction)
page->copy();
if (a == pasteAction)