<div dir="ltr"><div class="gmail_quote"><br># HG changeset patch<br>
# User Christopher Hoover &lt;<a href="mailto:ch@murgatroid.com">ch@murgatroid.com</a>&gt;<br>
# Date 1510451669 28800<br>
#      Sat Nov 11 17:54:29 2017 -0800<br>
# Node ID daba4a5f7acefe52f5fa4f036c9df5<wbr>9865c8df1e<br>
# Parent  0e0470d3e892bfd4818bfb972b8b85<wbr>d58f2b00d4<br>
Fixes case where column order setting parsing was calling split on None.<br>
<br>
diff -r 0e0470d3e892 -r daba4a5f7ace chirp/ui/memedit.py<br>
--- a/chirp/ui/memedit.py       Fri Nov 03 20:24:29 2017 -0400<br>
+++ b/chirp/ui/memedit.py       Sat Nov 11 17:54:29 2017 -0800<br>
@@ -961,15 +961,19 @@<br>
<br>
         default_col_order = [x for x, y, z in self.cols if z]<br>
         try:<br>
-            col_order = self._config.get(&quot;column_<wbr>order_%s&quot; %<br>
-                                         self.__class__.__name__).<wbr>split(&quot;,&quot;)<br>
-            if len(col_order) != len(default_col_order):<br>
-                raise Exception()<br>
-            for i in col_order:<br>
-                if i not in default_col_order:<br>
+            config_setting = self._config.get(&quot;column_<wbr>order_%s&quot; %<br>
+                                              self.__class__.__name__)<br>
+            if config_setting is None:<br>
+                col_order = default_col_order<br>
+            else:<br>
+                col_order = config_setting.split(&quot;,&quot;)<br>
+                if len(col_order) != len(default_col_order):<br>
                     raise Exception()<br>
+                for i in col_order:<br>
+                    if i not in default_col_order:<br>
+                        raise Exception()<br>
         except Exception, e:<br>
-            LOG.error(e)<br>
+            LOG.error(&quot;column order setting: %s&quot;, e)<br>
             col_order = default_col_order<br>
<br>
         non_editable = [_(&quot;Loc&quot;)]<br>
</div><br></div>