Actions
Bug #3817
closedWTabWidget::addTab emits currentChanged() with an invalid index
Start date:
02/23/2015
Due date:
% Done:
0%
Estimated time:
Description
The index is invalid because WTabWidget::addTab calls WMenu::addItem before adding the tab widget to WTabWidget::contentsStack_ in WTabWidget:57-59
The signal is emitted by WMenu when and only when internal paths are enabled via following call path:
Wt::WMenu::select() at WMenu.C:296 0x7ffff70928e1
Wt::WMenuItem::setFromInternalPath() at WMenuItem.C:447 0x7ffff7096381
Wt::WMenu::itemPathChanged() at WMenu.C:242 0x7ffff7090870
(missing call entry to WMenu::addItem)
Wt::WTabWidget::addTab() at WTabWidget.C:57 0x7ffff71091cd
Updated by Benoit Daccache over 9 years ago
- Status changed from InProgress to Resolved
Updated by Koen Deforche over 9 years ago
- Status changed from Resolved to Closed
Actions