Skip to content

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

C

fix(ui): honor single-instance limits when panel ignores shortcut toggle

Ahl7681657e3f6ce0
diff --git a/toonz/sources/toonz/floatingpanelcommand.cpp b/toonz/sources/toonz/floatingpanelcommand.cpp
index 62ba851af..599f576af 100644
--- a/toonz/sources/toonz/floatingpanelcommand.cpp
+++ b/toonz/sources/toonz/floatingpanelcommand.cpp
@@ -183,14 +183,12 @@ TPanel *OpenFloatingPanel::getOrOpenFloatingPanel(
// if there is already a floating panel and MultipleInstances are
// not allowed we must use it
if (!panel->areMultipleInstancesAllowed() && !panel->isHidden()) {
- if (panel->ignoresPanelShortcutToggle()) continue;
if (panel->isFloating()) activateWidget(panel);
return panel;
}
// If there is a hidden panel we can show and use it
if (panel->isHidden()) {
- if (panel->ignoresPanelShortcutToggle()) continue;
showFloatingPanel(panel, currentRoom);
return panel;
} else