Project

General

Profile

Bug #8407

[treeview] expand widget is not hidden on removing last child

Added by Egor Pugin 3 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
Start date:
04/26/2021
Due date:
% Done:

0%

Estimated time:

Description

When removing last child from some parent in a model, node does not deactivate it's expand button.
bug
Node 456 was moved from node 123.

The following code should be added to
https://github.com/emweb/wt/blob/master/src/Wt/WTreeView.C#L460

    ToggleButton *expandButton = nodeWidget_->resolve<ToggleButton *>("expand");
    if (expandButton)
      nodeWidget_->bindEmpty("expand");
#1

Updated by Korneel Dumon 3 months ago

  • Status changed from New to InProgress
#2

Updated by Roel Standaert about 2 months ago

  • Status changed from InProgress to Resolved
  • Target version set to 4.6.0
#3

Updated by Roel Standaert about 2 months ago

  • Target version changed from 4.6.0 to 4.5.1

Also available in: Atom PDF