diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-11-23 18:25:47 +0000 |
---|---|---|
committer | Tarmac <> | 2012-11-23 18:25:47 +0000 |
commit | 68533d0fedf1bf3a0e6f45230e03222510dd6af6 (patch) | |
tree | 78bad3b47623221cdcaf871305f77c71462faa13 /tests/script | |
parent | 7cfd1a4cececa6a44aaa3c7c6b35f1886808467e (diff) | |
parent | bdc349d16b6e88c64e6ad16513f33d71bf1a643d (diff) | |
download | qmenumodel-68533d0fedf1bf3a0e6f45230e03222510dd6af6.tar.gz qmenumodel-68533d0fedf1bf3a0e6f45230e03222510dd6af6.tar.bz2 qmenumodel-68533d0fedf1bf3a0e6f45230e03222510dd6af6.zip |
Fixed QMenumodel behavior when the GMenuModel is destroyed.
Approved by Lars Uebernickel, PS Jenkins bot.
Diffstat (limited to 'tests/script')
-rw-r--r-- | tests/script/menuscript.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/script/menuscript.py b/tests/script/menuscript.py index d30adc5..542308a 100644 --- a/tests/script/menuscript.py +++ b/tests/script/menuscript.py @@ -207,6 +207,9 @@ class ActionList(object): if self._ownNameID: Gio.bus_unown_name(self._ownNameID) self._ownNameID = None + + self._root = None + self._rootAction = None self._restore() def _onActionActivated(self, action, parameter): |