id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
173	editor pane loses focus if the syntax checker is selected	SvenDowideit		"select View|Show Syntax checker then exit Padre

start Padre using

./dev.pl lib/Padre/Wx/MainWindow.pm

once the syntax checker is loaded, you see that the edit pane has lost focus - simple misplacement of refresh


{{{
t42p:/data/padre/trunk/Padre# svn diff lib/Padre/Wx/MainWindow.pm
Index: lib/Padre/Wx/MainWindow.pm
===================================================================
--- lib/Padre/Wx/MainWindow.pm	(revision 1874)
+++ lib/Padre/Wx/MainWindow.pm	(working copy)
@@ -420,12 +420,11 @@
 	$self->load_files;
 	$self->on_toggle_status_bar;
 	Padre->ide->plugin_manager->enable_editors_for_all;
-	$self->refresh;
-
 	if ( $self->menu->view->{show_syntaxcheck}->IsChecked ) {
 		$self->syntax_checker->enable(1);
 	}
-
+	
+	$self->refresh;
 	# Now we are fully loaded and can paint continuously
 	$self->Thaw;
}}}
"	defect	closed	major		editor	0.20	fixed		
