diff options
author | Jeff Ames | 2008-05-01 19:20:53 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-01 19:20:53 +0000 |
commit | a5a16f6f499cf3166221bfefe119518eebdc8ca0 (patch) | |
tree | cfecbc4a0c929d90274f33f26aa08c3ef3814c0a /OpenSim/Tools/LaunchSLClient | |
parent | Minor cosmetic cleanup. (diff) | |
download | opensim-SC_OLD-a5a16f6f499cf3166221bfefe119518eebdc8ca0.zip opensim-SC_OLD-a5a16f6f499cf3166221bfefe119518eebdc8ca0.tar.gz opensim-SC_OLD-a5a16f6f499cf3166221bfefe119518eebdc8ca0.tar.bz2 opensim-SC_OLD-a5a16f6f499cf3166221bfefe119518eebdc8ca0.tar.xz |
Get LaunchSLClient window out of the way when launching SL.
Diffstat (limited to 'OpenSim/Tools/LaunchSLClient')
-rw-r--r-- | OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs index d53f919..dbc58ff 100644 --- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs +++ b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs | |||
@@ -228,6 +228,9 @@ namespace LaunchSLClient | |||
228 | } | 228 | } |
229 | } | 229 | } |
230 | 230 | ||
231 | comboBox1.DroppedDown = false; | ||
232 | Hide(); | ||
233 | |||
231 | System.Diagnostics.Process proc = new System.Diagnostics.Process(); | 234 | System.Diagnostics.Process proc = new System.Diagnostics.Process(); |
232 | proc.StartInfo.FileName = runLine; | 235 | proc.StartInfo.FileName = runLine; |
233 | proc.StartInfo.Arguments = exeFlags + " " + runUrl; | 236 | proc.StartInfo.Arguments = exeFlags + " " + runUrl; |
@@ -236,6 +239,8 @@ namespace LaunchSLClient | |||
236 | proc.StartInfo.WorkingDirectory = exePath; | 239 | proc.StartInfo.WorkingDirectory = exePath; |
237 | proc.Start(); | 240 | proc.Start(); |
238 | proc.WaitForExit(); | 241 | proc.WaitForExit(); |
242 | |||
243 | Application.Exit(); | ||
239 | } | 244 | } |
240 | } | 245 | } |
241 | } | 246 | } |