OSDN Git Service
(root)
/
radegast
/
radegast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff945c
)
If we're minimizing to system tray, and have docked scene viewer, close it down to...
author
Latif Khalifa
<latifer@streamgrid.net>
Tue, 16 Aug 2011 12:57:06 +0000
(12:57 +0000)
committer
Latif Khalifa
<latifer@streamgrid.net>
Tue, 16 Aug 2011 12:57:06 +0000
(12:57 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@1098
f7a694da
-4d33-11de-9ad6-
1127a62b9fcd
Radegast/GUI/Dialogs/MainForm.cs
patch
|
blob
|
history
diff --git
a/Radegast/GUI/Dialogs/MainForm.cs
b/Radegast/GUI/Dialogs/MainForm.cs
index
21abdd3
..
5170fe8
100644
(file)
--- a/
Radegast/GUI/Dialogs/MainForm.cs
+++ b/
Radegast/GUI/Dialogs/MainForm.cs
@@
-1389,6
+1389,10
@@
namespace Radegast
{
if (WindowState == FormWindowState.Minimized && instance.GlobalSettings["minimize_to_tray"].AsBoolean())
{
+ if (TabConsole.TabExists("scene_window") && !TabConsole.Tabs["scene_window"].Detached )
+ {
+ TabConsole.Tabs["scene_window"].Close();
+ }
ShowInTaskbar = false;
trayIcon.Visible = true;
FormBorderStyle = FormBorderStyle.SizableToolWindow;