[longomatch] Reset tag mode for all objects in the canvas
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Reset tag mode for all objects in the canvas
- Date: Wed, 24 Sep 2014 20:28:27 +0000 (UTC)
commit 0e1777609df345ffacfa9e1b738fcf9d639beaca
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Sep 9 17:18:53 2014 +0200
Reset tag mode for all objects in the canvas
LongoMatch.Drawing/Widgets/DashboardCanvas.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.Drawing/Widgets/DashboardCanvas.cs b/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
index ebee1f3..ad6ffa3 100644
--- a/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
+++ b/LongoMatch.Drawing/Widgets/DashboardCanvas.cs
@@ -88,6 +88,10 @@ namespace LongoMatch.Drawing.Widgets
set {
tagMode = value;
ObjectsCanMove = tagMode == TagMode.Edit;
+ foreach (TaggerObject to in Objects) {
+ to.Mode = value;
+ }
+ ClearSelection ();
}
get {
return tagMode;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]