Changeset 61449 in vbox
- Timestamp:
- Jun 3, 2016 3:44:09 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107774
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r61419 r61449 4849 4849 if ( machine.GetSessionState() == KSessionState_Locked /* precondition for CanShowConsoleWindow() */ 4850 4850 && machine.CanShowConsoleWindow()) 4851 return VBoxGlobal::switchToMachine(machine); 4851 { 4852 /* For the Selector UI: */ 4853 if (!isVMConsoleProcess()) 4854 { 4855 /* Just switch to existing VM window: */ 4856 return VBoxGlobal::switchToMachine(machine); 4857 } 4858 /* For the Runtime UI: */ 4859 else 4860 { 4861 /* Only separate UI process can reach that place, 4862 * switch to existing VM window and exit. */ 4863 VBoxGlobal::switchToMachine(machine); 4864 return false; 4865 } 4866 } 4852 4867 4853 4868 if (enmLaunchMode != LaunchMode_Separate)
Note:
See TracChangeset
for help on using the changeset viewer.