Diff of /toucan.cpp [3dbf83] .. [977a65]  Maximize  Restore

Switch to side-by-side view

--- a/toucan.cpp
+++ b/toucan.cpp
@@ -385,7 +385,7 @@
 
 void Toucan::OnProgressSetup(wxCommandEvent &event){
 	frmProgress *window = m_LuaManager->GetProgressWindow();
-	if(window){
+	if(window && window->m_Gauge){
 		window->m_Gauge->SetRange(event.GetInt());
 	}
 }