diff -r 007588fb6549 -r d917c209529d controls/LibraryPanel.py --- a/controls/LibraryPanel.py Fri Apr 22 16:59:47 2016 +0300 +++ b/controls/LibraryPanel.py Fri Apr 22 17:02:18 2016 +0300 @@ -397,7 +397,7 @@ item_pydata = self.Tree.GetPyData(item) # Item is a block category - if item_pydata["type"] == CATEGORY: + if (item == root) or item_pydata["type"] == CATEGORY: # Get category first or last child according to search mode # defined