From de014bd0cb98226d90bdec6bcf4c7a20cc4ba6b9 Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Wed, 3 Oct 2012 11:01:04 -0400
Subject: grc: populate file variable correctly when we save.

---
 grc/gui/ActionHandler.py | 1 +
 1 file changed, 1 insertion(+)

(limited to 'grc')

diff --git a/grc/gui/ActionHandler.py b/grc/gui/ActionHandler.py
index d1491db0b2..430a05fc22 100644
--- a/grc/gui/ActionHandler.py
+++ b/grc/gui/ActionHandler.py
@@ -264,6 +264,7 @@ class ActionHandler:
 			else:
 				try:
 					ParseXML.to_file(self.get_flow_graph().export_data(), self.get_page().get_file_path())
+                                        self.get_flow_graph().grc_file_path = self.get_page().get_file_path()
 					self.get_page().set_saved(True)
 				except IOError:
 					Messages.send_fail_save(self.get_page().get_file_path())
-- 
cgit v1.2.3