[longomatch] Hide links when not in edit mode



commit 7ca13c11c732aec6a6f9650e5dec70a28f2d65c9
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Tue Apr 14 03:08:42 2015 +0200

    Hide links when not in edit mode

 LongoMatch.GUI/Gui/Component/DashboardWidget.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
index a0ce6f3..9d07845 100644
--- a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
@@ -348,8 +348,10 @@ namespace LongoMatch.Gui.Component
                        if (editbutton.Active) {
                                Mode = DashboardMode.Edit;
                                linksbutton.Visible = true;
+                               tagger.ShowLinks = linksbutton.Active;
                        } else {
                                Mode = DashboardMode.Code;
+                               tagger.ShowLinks = false;
                                linksbutton.Visible = false;
                        }
                }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]