[longomatch] Store changes to Project when coming back from synch.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Store changes to Project when coming back from synch.
- Date: Wed, 18 Mar 2015 14:45:54 +0000 (UTC)
commit d149aedaf6fe0da6ca45a048c94defdcaf20ef9b
Author: Julien Moutte <julien fluendo com>
Date: Mon Mar 16 15:39:05 2015 +0100
Store changes to Project when coming back from synch.
LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
index 1c314c6..59d1f47 100644
--- a/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
+++ b/LongoMatch.GUI/Gui/Panel/ProjectsManagerPanel.cs
@@ -164,6 +164,13 @@ namespace LongoMatch.Gui.Panel
BackEvent ();
}
} else {
+ projectperiods1.Pause ();
+ projectperiods1.SaveChanges ();
+ // We need to reload project details
+ LoadProject (loadedProject);
+ // And remember that the project has changed
+ edited = true;
+
notebook1.Page--;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]