diff options
author | Sebastian Geerken <devnull@localhost> | 2013-08-16 18:17:47 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2013-08-16 18:17:47 +0200 |
commit | a5e77bdac14a79d6c8a09a6db8f1a2307b1537f3 (patch) | |
tree | c00e1260cd8328e35295afe30e0ae451d3b7a8a0 /dw/widget.hh | |
parent | 183e15f49625b3a15a9b2e511970c988d7164c23 (diff) |
Fixed a bug in DeepIterator (level calculation should regard generators).
Diffstat (limited to 'dw/widget.hh')
-rw-r--r-- | dw/widget.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dw/widget.hh b/dw/widget.hh index a99e12ab..18d74026 100644 --- a/dw/widget.hh +++ b/dw/widget.hh @@ -309,6 +309,7 @@ public: inline Widget *getParent () { return parent; } Widget *getTopLevel (); int getLevel (); + int getGeneratorLevel (); Widget *getNearestCommonAncestor (Widget *otherWidget); inline Widget *getGenerator () { return generator ? generator : parent; } |