Skip to content

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

C

Fix preference setting

manongjohnd36a818744ed
diff --git a/toonz/sources/toonz/toolbar.cpp b/toonz/sources/toonz/toolbar.cpp
index 0da8338eb..dbd73df1c 100755
--- a/toonz/sources/toonz/toolbar.cpp
+++ b/toonz/sources/toonz/toolbar.cpp
@@ -158,7 +158,8 @@ void Toolbar::updateToolbar() {
TTool *tool = TTool::getTool(buttonLayout[idx].toolName, targetType);
if (tool) tool->updateEnabled(rowIndex, colIndex);
bool isSeparator = !strncmp(buttonLayout[idx].toolName, "Separator", 9);
- bool enable = !tool ? actionEnabled : tool->isEnabled();
+ bool enable =
+ !showLevelBased ? true : (!tool ? actionEnabled : tool->isEnabled());
if (!buttonLayout[idx].action) {
if (isSeparator)