fix collapsable->collapsible

This commit is contained in:
luz paz 2021-08-10 13:30:08 -04:00 committed by manongjohn
parent ccae1cb3cb
commit b736a3554e
2 changed files with 2 additions and 2 deletions

View file

@ -163,7 +163,7 @@ void Toolbar::updateToolbar() {
(m_toolbarLevel & LEVELCOLUMN_XSHLEVEL)) (m_toolbarLevel & LEVELCOLUMN_XSHLEVEL))
enable = true; enable = true;
if (!m_isExpanded && m_buttonLayout[idx].collapsable) continue; if (!m_isExpanded && m_buttonLayout[idx].collapsible) continue;
if (!m_buttonLayout[idx].action) { if (!m_buttonLayout[idx].action) {
if (m_buttonLayout[idx].isSeparator) if (m_buttonLayout[idx].isSeparator)

View file

@ -21,7 +21,7 @@ class Toolbar final : public QToolBar {
struct { struct {
const char *toolName; const char *toolName;
bool isSeparator; bool isSeparator;
bool collapsable; bool collapsible;
QAction *action; QAction *action;
} m_buttonLayout[33] = { } m_buttonLayout[33] = {
{T_Edit, false, false, 0}, {T_Selection, false, false, 0}, {T_Edit, false, false, 0}, {T_Selection, false, false, 0},