[longomatch/fakelive] Save the database before setting the openedProject to null.
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch/fakelive] Save the database before setting the openedProject to null.
- Date: Mon, 15 Mar 2010 21:45:21 +0000 (UTC)
commit caa648b20b1a5e10b380bd264a843b73304c7c36
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Sun Mar 7 18:41:49 2010 +0100
Save the database before setting the openedProject to null.
LongoMatch/Gui/MainWindow.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/LongoMatch/Gui/MainWindow.cs b/LongoMatch/Gui/MainWindow.cs
index d3b5b75..52d065c 100644
--- a/LongoMatch/Gui/MainWindow.cs
+++ b/LongoMatch/Gui/MainWindow.cs
@@ -195,7 +195,7 @@ namespace LongoMatch.Gui
Title = "LongoMatch";
ClearWidgets();
HideWidgets();
-
+ SaveDB();
if (openedProject != null) {
openedProject.Clear();
openedProject = null;
@@ -205,8 +205,7 @@ namespace LongoMatch.Gui
}
playlistwidget2.Visible = playlistVisible;
rightvbox.Visible = playlistVisible;
- noteswidget1.Visible = false;
- SaveDB();
+ noteswidget1.Visible = false;
selectedTimeNode = null;
MakeActionsSensitive(false, projectType);
hkManager.Sections = null;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]