diff src/layout_image.c @ 1273:1ac2baeb8dc9

fixed switch from single to split image
author nadvornik
date Sun, 01 Feb 2009 18:27:42 +0000
parents e0e12512cde2
children 8b89e3ff286b
line wrap: on
line diff
--- a/src/layout_image.c	Sun Feb 01 12:48:14 2009 +0000
+++ b/src/layout_image.c	Sun Feb 01 18:27:42 2009 +0000
@@ -1658,7 +1658,12 @@
 		{
 		layout_image_activate(lw, 0);
 		}
-
+	else
+		{
+		/* this will draw the frame around selected image (image_select)
+		   on switch from single to split images */
+		layout_image_activate(lw, lw->active_split_image);
+		}
 }
 
 GtkWidget *layout_image_setup_split_none(LayoutWindow *lw)