Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix Reset buttons on Tool Option bars (#2801)

manongjohnccd524649715
diff --git a/toonz/sources/tnztools/tooloptions.cpp b/toonz/sources/tnztools/tooloptions.cpp
index 16a9c6ec7..d2ba53bab 100644
--- a/toonz/sources/tnztools/tooloptions.cpp
+++ b/toonz/sources/tnztools/tooloptions.cpp
@@ -2685,7 +2685,7 @@ ZoomToolOptionsBox::ZoomToolOptionsBox(QWidget *parent, TTool *tool,
setFrameStyle(QFrame::StyledPanel);
setFixedHeight(26);
- QAction *resetZoomAction = CommandManager::instance()->getAction(V_ZoomReset);
+ QAction *resetZoomAction = CommandManager::instance()->getAction(VB_ZoomReset);
QPushButton *button = new QPushButton(tr("Reset Zoom"));
button->setFixedHeight(20);
@@ -2708,7 +2708,7 @@ RotateToolOptionsBox::RotateToolOptionsBox(QWidget *parent, TTool *tool,
setFixedHeight(26);
QAction *resetRotationAction =
- CommandManager::instance()->getAction(V_RotateReset);
+ CommandManager::instance()->getAction(VB_RotateReset);
QPushButton *button = new QPushButton(tr("Reset Rotation"));
button->setFixedHeight(20);
@@ -2731,7 +2731,7 @@ HandToolOptionsBox::HandToolOptionsBox(QWidget *parent, TTool *tool,
setFixedHeight(26);
QAction *resetPositionAction =
- CommandManager::instance()->getAction(V_PositionReset);
+ CommandManager::instance()->getAction(VB_PositionReset);
QPushButton *button = new QPushButton(tr("Reset Position"));
button->setFixedHeight(20);