Actions
Bug #897
closedRemoving the first tab
Start date:
07/13/2011
Due date:
% Done:
0%
Estimated time:
Description
Hi,
Removing the first tab gives me an error. If the commented line is uncommented, we are removing the second tab. That does work.
code snippet:
WText *test = new WText("testing tab removal");
WTabWidget *tabwidget_ = new WTabWidget();
//tabwidget_->addTab(new WText("if a previous tab is added it works"), "first tab");
tabwidget_->addTab(test, "test_pre_removal");
tabwidget_->removeTab(test);
tabwidget_->addTab(test, "test_post_removal");
root()->addWidget(tabwidget_);
I'm using the git version of today.
Kind regards,
Rob.
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
- Assignee set to Koen Deforche
- Target version set to 3.1.11
Updated by Koen Deforche over 13 years ago
- Status changed from InProgress to Resolved
Hey Rob,
It was caused by an issue in WMenuItem::takeContents() which in some cases still deleted the contents.
It's been fixed in git.
Keep them coming :-)
Regards,
koen
Updated by Koen Deforche about 13 years ago
- Status changed from Resolved to Closed
Resolved in Wt 3.1.11
Actions