[longomatch] Don't check for circular links
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Don't check for circular links
- Date: Thu, 23 Apr 2015 15:21:23 +0000 (UTC)
commit 3eaa1edaf17aac6e9bc2fb518a67052dcbce4b08
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Wed Apr 22 12:07:42 2015 +0200
Don't check for circular links
This makes possible bidireccional links
LongoMatch.GUI/Gui/Component/DashboardWidget.cs | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
index e67fc10..482e585 100644
--- a/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
+++ b/LongoMatch.GUI/Gui/Component/DashboardWidget.cs
@@ -557,11 +557,12 @@ namespace LongoMatch.Gui.Component
void HandleActionLinkCreatedEvent (ActionLink actionLink)
{
- if (template.HasCircularDependencies ()) {
- Config.GUIToolkit.ErrorMessage (Catalog.GetString (
- "This linking option is not valid: infinite loop."));
- RemoveLink (actionLink, true);
- }
+// if (template.HasCircularDependencies ()) {
+// Config.GUIToolkit.ErrorMessage (Catalog.GetString (
+// "This linking option is not valid: infinite loop."));
+// RemoveLink (actionLink, true);
+// }
+ HandleActionLinksSelectedEvent (new List<ActionLink> { actionLink });
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]