summaryrefslogtreecommitdiff
path: root/grc/gui/BlockTreeWindow.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2012-09-28 10:11:50 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2012-09-28 10:11:50 -0700
commit91d630638d6cbe237f0fa1a978f3161a9a041895 (patch)
tree3049c13b908105f04d1d8fb7bd8c0253d902c500 /grc/gui/BlockTreeWindow.py
parentecc8f73c367fbd7fed43aae67dea67261e374a8b (diff)
parent515d1b6f91f5dd28997525b1e88006bbfc0f170a (diff)
Merge branch 'master' into next
Diffstat (limited to 'grc/gui/BlockTreeWindow.py')
-rw-r--r--grc/gui/BlockTreeWindow.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/grc/gui/BlockTreeWindow.py b/grc/gui/BlockTreeWindow.py
index e5a4027eb8..e53b7d618e 100644
--- a/grc/gui/BlockTreeWindow.py
+++ b/grc/gui/BlockTreeWindow.py
@@ -92,6 +92,11 @@ class BlockTreeWindow(gtk.VBox):
#initialize
self._update_add_button()
+ def clear(self):
+ self.treestore.clear();
+ self._categories = {tuple(): None}
+
+
############################################################
## Block Tree Methods
############################################################