[chronojump] Fixed label_sprint_export_data was not showing person or session (was not showing anything)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed label_sprint_export_data was not showing person or session (was not showing anything)
- Date: Thu, 10 Jun 2021 15:47:27 +0000 (UTC)
commit de16ac293ca946009dd8b6a058484939ed211281
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jun 10 17:47:04 2021 +0200
Fixed label_sprint_export_data was not showing person or session (was not showing anything)
src/gui/app1/chronojump.cs | 5 +++++
src/gui/sprint.cs | 7 +++++++
2 files changed, 12 insertions(+)
---
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 012ecb8de..8b160e831 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -1336,6 +1336,11 @@ public partial class ChronoJumpWindow
label_sprint_person_name.Text = string.Format(Catalog.GetString("Sprints of
{0}"), currentPerson.Name);
createTreeView_runs_interval_sprint (treeview_runs_interval_sprint);
+ if(currentPerson != null)
+ label_sprint_export_data.Text = currentPerson.Name;
+ else
+ label_sprint_export_data.Text = "";
+
label_sprint_export_result.Text = "";
button_sprint_export_result_open.Visible = false;
}
diff --git a/src/gui/sprint.cs b/src/gui/sprint.cs
index 2ae754dd1..d05c10871 100644
--- a/src/gui/sprint.cs
+++ b/src/gui/sprint.cs
@@ -311,6 +311,11 @@ public partial class ChronoJumpWindow
{
notebook_sprint_analyze_top.CurrentPage = 1;
+ if(currentPerson != null)
+ label_sprint_export_data.Text = currentPerson.Name;
+ else
+ label_sprint_export_data.Text = "";
+
label_sprint_export_result.Text = "";
button_sprint_export_result_open.Visible = false;
}
@@ -319,6 +324,8 @@ public partial class ChronoJumpWindow
{
notebook_sprint_analyze_top.CurrentPage = 1;
+ label_sprint_export_data.Text = currentSession.Name;
+
label_sprint_export_result.Text = "";
button_sprint_export_result_open.Visible = false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]