Blob Blame History Raw
diff -up system-config-printer-1.1.17/system-config-printer.py.device-settings system-config-printer-1.1.17/system-config-printer.py
--- system-config-printer-1.1.17/system-config-printer.py.device-settings	2010-02-09 11:41:44.000000000 +0000
+++ system-config-printer-1.1.17/system-config-printer.py	2010-02-11 16:56:44.120583145 +0000
@@ -5312,11 +5312,13 @@ class NewPrinterGUI(GtkGUI):
                 iter = model.iter_next (iter)
                 i += 1
         elif not self.device_selected:
+            # Select the device.
             column = self.tvNPDevices.get_column (0)
             self.tvNPDevices.set_cursor ((0,), column)
 
-        column = self.tvNPDeviceURIs.get_column (0)
-        self.tvNPDeviceURIs.set_cursor (connection_select_path, column)
+            # Select the connection.
+            column = self.tvNPDeviceURIs.get_column (0)
+            self.tvNPDeviceURIs.set_cursor (connection_select_path, column)
 
     def on_entNPTDevice_changed(self, entry):
         self.setNPButtons()