mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2024-12-25 13:04:38 +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:
commit
fae194b36f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user