[longomatch] 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] Save the database before setting the openedProject to null.
- Date: Thu, 25 Mar 2010 20:48:54 +0000 (UTC)
commit e059c239f812485af446aba11fdde0cc6f2ad83b
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]