From ccd52464971505efb4648f0ca387e8d6e8a0dd39 Mon Sep 17 00:00:00 2001 From: manongjohn Date: Sep 24 2019 02:16:11 +0000 Subject: Fix Reset buttons on Tool Option bars (#2801) --- diff --git a/toonz/sources/tnztools/tooloptions.cpp b/toonz/sources/tnztools/tooloptions.cpp index 16a9c6e..d2ba53b 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);