[recipes/todoist-3: 6/6] Fix for exporter dialog that doesn't open once destroyed.



commit 5552515a554b0b7c69f77a7d8fb79babce6831ea
Author: Ekta Nandwani <mailnandwaniekta gmail com>
Date:   Fri Aug 18 07:24:02 2017 +0530

    Fix for exporter dialog that doesn't open once destroyed.

 src/gr-shopping-page.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-shopping-page.c b/src/gr-shopping-page.c
index 107cbff..b281abf 100644
--- a/src/gr-shopping-page.c
+++ b/src/gr-shopping-page.c
@@ -694,8 +694,8 @@ open_export_shopping_list_dialog (GrShoppingPage *page)
 
                 window = gtk_widget_get_ancestor (GTK_WIDGET (page), GTK_TYPE_APPLICATION_WINDOW);
                 page->exporter = gr_shopping_list_exporter_new(GTK_WINDOW (window));
-                gr_shopping_list_exporter_export (page->exporter, items);
         }
+        gr_shopping_list_exporter_export (page->exporter, items);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]