Blame SOURCES/system-config-printer-cursor-handling.patch

0a882b
diff -up system-config-printer-1.4.1/newprinter.py.cursor-handling system-config-printer-1.4.1/newprinter.py
0a882b
--- system-config-printer-1.4.1/newprinter.py.cursor-handling	2017-11-02 19:52:53.493150352 +0100
0a882b
+++ system-config-printer-1.4.1/newprinter.py	2017-11-02 19:54:03.912595627 +0100
0a882b
@@ -1627,7 +1627,8 @@ class NewPrinterGUI(GtkGUI):
0a882b
                 model, iter = treeview.get_selection ().get_selected ()
0a882b
                 if not iter:
0a882b
                     path, column = treeview.get_cursor()
0a882b
-                    iter = model.get_iter (path)
0a882b
+                    if path:
0a882b
+                        iter = model.get_iter (path)
0a882b
                     #driver = model.get_value (iter, 1)
0a882b
                 accepted = (iter != None)
0a882b
 
0a882b
diff -up system-config-printer-1.4.1/system-config-printer.py.cursor-handling system-config-printer-1.4.1/system-config-printer.py