Skip to content

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

C

style(style-editor): match clang-format 14 used by CI

Ahl76d7e3583fd2b6
diff --git a/toonz/sources/toonzqt/styleeditor.cpp b/toonz/sources/toonzqt/styleeditor.cpp
index 7989daf8d..36d82e47c 100644
--- a/toonz/sources/toonzqt/styleeditor.cpp
+++ b/toonz/sources/toonzqt/styleeditor.cpp
@@ -3892,11 +3892,10 @@ void StyleEditor::onColorChanged(const ColorModel &color, bool isDragging) {
void StyleEditor::enable(bool enabled, bool enabledOnlyFirstTab,
bool enabledFirstAndLastTab) {
- bool flagsChanged =
- m_enabled != enabled || m_enabledOnlyFirstTab != enabledOnlyFirstTab ||
- m_enabledFirstAndLastTab != enabledFirstAndLastTab;
- bool rememberTabs =
- Preferences::instance()->isRestoreStyleEditorTabEnabled();
+ bool flagsChanged = m_enabled != enabled ||
+ m_enabledOnlyFirstTab != enabledOnlyFirstTab ||
+ m_enabledFirstAndLastTab != enabledFirstAndLastTab;
+ bool rememberTabs = Preferences::instance()->isRestoreStyleEditorTabEnabled();
bool alreadyFullTabs =
m_enabled && !m_enabledOnlyFirstTab && !m_enabledFirstAndLastTab;
bool enteringFullTabs =