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:
455ac31
)
Fix the crash when map button was clicked too soon
author
Latif Khalifa
<latifer@streamgrid.net>
Sat, 2 Jul 2011 23:01:33 +0000
(23:01 +0000)
committer
Latif Khalifa
<latifer@streamgrid.net>
Sat, 2 Jul 2011 23:01:33 +0000
(23:01 +0000)
git-svn-id: https://radegast.googlecode.com/svn/trunk@934
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
d66954b
..
f9de787
100644
(file)
--- a/
Radegast/GUI/Dialogs/MainForm.cs
+++ b/
Radegast/GUI/Dialogs/MainForm.cs
@@
-1313,6
+1313,8
@@
namespace Radegast
private void tbtnMap_Click(object sender, EventArgs e)
{
+ if (MapTab == null) return; // too soon!
+
ToggleHidden("map");
if (!MapTab.Hidden)
MapToCurrentLocation();