Project

General

Profile

Actions

Bug #8407

closed
EP

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

Bug #8407: [treeview] expand widget is not hidden on removing last child

Added by Egor Pugin over 5 years ago. Updated almost 5 years ago.

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

100%

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");

KD Updated by Korneel Dumon over 5 years ago Actions #1

  • Status changed from New to InProgress

RS Updated by Roel Standaert over 5 years ago Actions #2

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

RS Updated by Roel Standaert over 5 years ago Actions #3

  • Target version changed from 4.6.0 to 4.5.1

RS Updated by Roel Standaert about 5 years ago Actions #4

  • % Done changed from 0 to 100

RS Updated by Roel Standaert almost 5 years ago Actions #5

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom