Bug #3813
Toggling WPanel collapse state via title bar does not emit signals
Start date:
02/22/2015
Due date:
% Done:
0%
Estimated time:
Description
It is possible to toggle the collapse state of a collapsible Wt::WPanel
by clicking on either the expand/collapse icon or the title bar text. When using the icons, the expanded()
and collapsed()
signals are emitted. However, when using the title bar, neither of these signals are emitted.
I do note there are expandedSS()
and collapsedSS()
signals, emitted under different circumstances, but not sure what those are for.
The attached patch causes the correct expanded()
or collapsed()
signal to be emitted on toggling via title bar click (added in Wt::WPanel::toggleCollapse()
, which is a private slot called only on title bar click).
Files