Author: post
Date: 2011-03-08 19:57:08 +0100 (Tue, 08 Mar 2011)
New Revision: 3851

Modified:
   trunk/src/gtk-interface.c
Log:
Insert catchups, so we are sure autocropping is applied.

Modified: trunk/src/gtk-interface.c
===================================================================
--- trunk/src/gtk-interface.c   2011-03-08 18:55:41 UTC (rev 3850)
+++ trunk/src/gtk-interface.c   2011-03-08 18:57:08 UTC (rev 3851)
@@ -201,9 +201,12 @@
        /* Set photo in preview-widget */
        rs_preview_widget_set_photo(RS_PREVIEW_WIDGET(rs->preview), photo);
        rs_toolbox_set_photo(RS_TOOLBOX(rs->tools), photo);
-       if (NULL==rs->photo->crop && rs->photo->proposed_crop)
+       rs->photo->proposed_crop = NULL;
+       GTK_CATCHUP();
+       if (rs->photo && NULL==rs->photo->crop && rs->photo->proposed_crop)
                rs_photo_set_crop(rs->photo, rs->photo->proposed_crop);
        rs_core_actions_update_menu_items(rs);
+       GTK_CATCHUP();
        gui_set_busy(FALSE);
        return TRUE;
 }


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to