diff --git a/toonz/sources/tnztools/imagegrouping.cpp b/toonz/sources/tnztools/imagegrouping.cpp index 72f2624..e6cd04c 100644 --- a/toonz/sources/tnztools/imagegrouping.cpp +++ b/toonz/sources/tnztools/imagegrouping.cpp @@ -216,7 +216,15 @@ public: int getSize() const override { return sizeof(*this); } - QString getToolName() override { return QObject::tr("Move Group"); } + QString getToolName() override { + static QMap commandTypeStrMap{ + {TGroupCommand::FRONT, QObject::tr(" to Front")}, + {TGroupCommand::FORWARD, QObject::tr(" to Forward")}, + {TGroupCommand::BACK, QObject::tr(" to Back")}, + {TGroupCommand::BACKWARD, QObject::tr(" to Backward")}}; + + return QObject::tr("Move Group") + commandTypeStrMap.value(m_moveType); + } }; //----------------------------------------------------------------------------- diff --git a/toonz/sources/tnztools/vectorselectiontool.h b/toonz/sources/tnztools/vectorselectiontool.h index 6329157..8a40723 100644 --- a/toonz/sources/tnztools/vectorselectiontool.h +++ b/toonz/sources/tnztools/vectorselectiontool.h @@ -338,6 +338,7 @@ private: void selectNone() override { LevelSelection::selectNone(), m_strokeSelection.selectNone(); } + void enableCommands() override { m_strokeSelection.enableCommands(); } }; private: