         app.workspaceData     = workspace
 
         appManager.tell 'IDE', 'mountMachineByMachineUId', machineUId
+        KD.getSingleton('mainView').emit 'WorkspaceSelected', data
 
     return fallback()  unless ideApps?.instances
 

    return machine or null


  loadIDE = ({ machine, workspace }) ->
    appManager = KD.getSingleton 'appManager'
    ideApps    = appManager.appControllers.IDE
    machineUId = machine.uid

        if instance.workspaceData?.isDefault
          ideInstance = instance

    if ideInstance
      appManager.showInstance ideInstance
      KD.getSingleton('mainView').emit 'WorkspaceSelected', data
    else
      fallback()


  routeToLastWorkspace = ->
