Skip to content

Commit

Permalink
Core: Tree: Hide column : Change default at other places
Browse files Browse the repository at this point in the history
  • Loading branch information
PaddleStroke committed May 31, 2023
1 parent c6e37bd commit d63259b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Gui/TreeParams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ class TreeParamsP: public ParameterGrp::ObserverType {
}
// Auto generated code (Tools/params_utils.py:244)
static void updateHideColumn(TreeParamsP *self) {
auto v = self->handle->GetBool("HideColumn", false);
auto v = self->handle->GetBool("HideColumn", true);
if (self->HideColumn != v) {
self->HideColumn = v;
TreeParams::onHideColumnChanged();
Expand Down Expand Up @@ -1203,7 +1203,7 @@ const bool & TreeParams::getHideColumn() {

// Auto generated code (Tools/params_utils.py:300)
const bool & TreeParams::defaultHideColumn() {
const static bool def = false;
const static bool def = true;
return def;
}

Expand Down

0 comments on commit d63259b

Please sign in to comment.