diff --git a/toonz/sources/include/toonzqt/schematicnode.h b/toonz/sources/include/toonzqt/schematicnode.h index b599e54..d276279 100644 --- a/toonz/sources/include/toonzqt/schematicnode.h +++ b/toonz/sources/include/toonzqt/schematicnode.h @@ -33,6 +33,7 @@ protected: void focusOutEvent(QFocusEvent *fe) override; void keyPressEvent(QKeyEvent *ke) override; + void contextMenuEvent(QGraphicsSceneContextMenuEvent *cme) override; signals: void focusOut(); diff --git a/toonz/sources/toonzqt/schematicnode.cpp b/toonz/sources/toonzqt/schematicnode.cpp index e834b09..8283cf5 100644 --- a/toonz/sources/toonzqt/schematicnode.cpp +++ b/toonz/sources/toonzqt/schematicnode.cpp @@ -103,6 +103,10 @@ void SchematicName::focusInEvent(QFocusEvent *fe) { setTextCursor(cursor); } +//-------------------------------------------------------- + +void SchematicName::contextMenuEvent(QGraphicsSceneContextMenuEvent *cme) {} + //======================================================== // // class SchematicThumbnailToggle