mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-24 20:27:22 +01:00
restore column width after user turns option to show attributes in the tree off, then on again
This commit is contained in:
parent
adabf789dd
commit
e4adcd15d8
@ -131,6 +131,7 @@ ObjectTreeView::ObjectTreeView(ProjectPanel* project,
|
||||
|
||||
//header()->hide();
|
||||
|
||||
header()->setDefaultAlignment(Qt::AlignHCenter);
|
||||
header()->setResizeMode(QHeaderView::Interactive);
|
||||
|
||||
showOrHideAttributesColumn();
|
||||
|
||||
@ -396,8 +396,12 @@ void PrefsDialog::accept()
|
||||
|
||||
ProjectPanel *pp = mw->activeProject();
|
||||
if (pp)
|
||||
{
|
||||
pp->m_panel->om->setAttributesColumnEnabled(
|
||||
m_dialog->attributesInTree->isChecked());
|
||||
if (m_dialog->attributesInTree->isChecked())
|
||||
pp->m_panel->om->loadSectionSizes();
|
||||
}
|
||||
|
||||
// QToolTip::setWakeUpDelay( st->getTooltipDelay()*1000 );
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user