[longomatch] Fix Database service startup.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix Database service startup.
- Date: Fri, 17 Apr 2015 16:23:15 +0000 (UTC)
commit 58cfe0d62f2036d8f1434a3e03047cb080549533
Author: Julien Moutte <julien fluendo com>
Date: Mon Apr 13 15:34:36 2015 +0200
Fix Database service startup.
LongoMatch.Services/CoreServices.cs | 1 -
LongoMatch.Services/DataBaseManager.cs | 2 ++
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Services/CoreServices.cs b/LongoMatch.Services/CoreServices.cs
index 6dfec9e..e572fcc 100644
--- a/LongoMatch.Services/CoreServices.cs
+++ b/LongoMatch.Services/CoreServices.cs
@@ -95,7 +95,6 @@ namespace LongoMatch.Services
/* Start DB services */
dbManager = new DataBaseManager (Config.DBDir, guiToolkit);
- dbManager.SetActiveByName (Config.CurrentDatabase);
services.Add (dbManager);
Config.DatabaseManager = dbManager;
diff --git a/LongoMatch.Services/DataBaseManager.cs b/LongoMatch.Services/DataBaseManager.cs
index 64b0083..4bc6fcd 100644
--- a/LongoMatch.Services/DataBaseManager.cs
+++ b/LongoMatch.Services/DataBaseManager.cs
@@ -168,6 +168,8 @@ namespace LongoMatch.Services
UpdateDatabases ();
+ SetActiveByName (Config.CurrentDatabase);
+
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]