[longomatch] Add the new project to the database
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add the new project to the database
- Date: Wed, 24 Sep 2014 20:24:40 +0000 (UTC)
commit 5d84eab0b1d8cb4fa6c84217f4d8b43e36f42750
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sat Sep 6 00:33:50 2014 +0200
Add the new project to the database
LongoMatch.Services/Services/ProjectsManager.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/Services/ProjectsManager.cs b/LongoMatch.Services/Services/ProjectsManager.cs
index 9cdbb55..9093912 100644
--- a/LongoMatch.Services/Services/ProjectsManager.cs
+++ b/LongoMatch.Services/Services/ProjectsManager.cs
@@ -335,8 +335,10 @@ namespace LongoMatch.Services
void OpenNewProject (Project project, ProjectType projectType,
CaptureSettings captureSettings)
{
- if (project != null)
+ if (project != null) {
+ Config.DatabaseManager.ActiveDB.AddProject (project);
SetProject (project, projectType, captureSettings);
+ }
}
void OpenProject ()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]