Project

General

Profile

Actions

Bug #8407

closed

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

Added by Egor Pugin almost 3 years ago. Updated over 2 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");
Actions #1

Updated by Korneel Dumon almost 3 years ago

  • Status changed from New to InProgress
Actions #2

Updated by Roel Standaert almost 3 years ago

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

Updated by Roel Standaert almost 3 years ago

  • Target version changed from 4.6.0 to 4.5.1
Actions #4

Updated by Roel Standaert over 2 years ago

  • % Done changed from 0 to 100
Actions #5

Updated by Roel Standaert over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF