[chronojump/michrolab] Fixed version (DB) duplicated messages on repetitive opening about window
- From: Xavier Padullés <xpadulles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump/michrolab] Fixed version (DB) duplicated messages on repetitive opening about window
- Date: Thu, 14 Jul 2022 16:37:55 +0000 (UTC)
commit 7288537269a6c048aa837545b4b0c989d0de3eab
Author: Xavier de Blas <xaviblas gmail com>
Date: Mon Jun 13 18:55:39 2022 +0200
Fixed version (DB) duplicated messages on repetitive opening about window
src/gui/app1/chronojump.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index c36ed3541..cb84eca88 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -7884,11 +7884,13 @@ LogB.Debug("mc finished 5");
if(translator_credits == "translator-credits")
translator_credits = "";
+ string versionStr = progVersion;
+
//DB version
if(File.Exists(System.IO.Path.Combine(Util.GetDatabaseDir(), "chronojump.db"))) {
try {
Sqlite.Connect();
- progVersion += "\nDB version: " + SqlitePreferences.Select("databaseVersion",
false);
+ versionStr += "\nDB version: " + SqlitePreferences.Select("databaseVersion",
false);
Sqlite.DisConnect();
}
catch {
@@ -7897,7 +7899,7 @@ LogB.Debug("mc finished 5");
}
}
- new About(progVersion, translator_credits);
+ new About(versionStr, translator_credits);
}
private void on_feedback_closed(object o, EventArgs args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]