fix collapsable->collapsible
This commit is contained in:
parent
ccae1cb3cb
commit
b736a3554e
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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},
|
||||||
|
|
Loading…
Reference in a new issue