russellallen/self — pull request #18 by doublec (2013-09-21 04:25:57+00:00)
Title: Prevent error when renaming outliner titles

This is an attempt to resolve #2. The walkback occurs due to
the categoryList in the pluggable outliner being empty. The
existing code attempts to get the last element and the index of
it and fails.

This fix first checks if the categoryList is empty and then stops
the editing process. The walkback no longer occurs. Unforunately
the title of the object doesn't change either. It immediately
goes back to what it was originally.