1 |
|
2003-06-16 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
Backport from HEAD. |
4 |
|
|
5 |
|
Fix a problem under Windows whereby if the user double-clicks on a |
6 |
|
layer in the legend that tree item will expand or collapse as well |
7 |
|
as open the layer properties dialog. The state of the tree item |
8 |
|
should not be affected. |
9 |
|
|
10 |
|
* Thuban/UI/legend.py (LegendTree.__init__): Add instance variable |
11 |
|
preventExpandCollapse and subscribe to expanding and collapsing |
12 |
|
events. |
13 |
|
(LegendTree.OnItemExpandCollapse): New. Responds to expanding and |
14 |
|
collapsing events and will veto the event if it has been triggered |
15 |
|
by the user double clicking on a layer. |
16 |
|
(LegendTree._OnItemActivated): Set preventExpandCollapse to indicate |
17 |
|
that an expanding/collapsing event should be vetoed. |
18 |
|
|
19 |
2003-06-13 Bernhard Herzog <[email protected]> |
2003-06-13 Bernhard Herzog <[email protected]> |
20 |
|
|
21 |
Backport from HEAD. |
Backport from HEAD. |