Commits

Ali Afshar committed b7b8a26

Ensured check for when there has been no previous language outliner. Fixes #401

  • Participants
  • Parent commits 8e18653

Comments (0)

Files changed (1)

File pida/services/language/gui.py

 
     def update_filterview(self, outliner):
         if ((outliner and not self._last_outliner) or
-            (self._last_outliner.name != outliner.name)):
+            (self._last_outliner and self._last_outliner.name != outliner.name)):
             self._last_outliner = outliner
             def rmchild(widget):
                 self.filter_toolbar.remove(widget)