         hideSidebarIfNecessary()
         devicesChanged()
         self.pluginController.connectedWithContext(self.contextBouncer)
+        device.bind { self.saveLastKnownConnection($0.displayName) }
     }
     
     func choseDeviceOption(sender : NSMenuItem) {

//

import Cocoa

class ConsoleWindowController: NSWindowController {
    

    @IBOutlet private var sidebarTable : NSTableView!
    
    @IBOutlet private var bodyController : NSViewController!
    
    
    private let deviceController : DeviceController = DeviceController()
    private var currentConnection : DeviceConnection?
