[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (448a50d473e83f4202a70df36fcffe30373ffc38)
The branch, master has been updated
via 448a50d473e83f4202a70df36fcffe30373ffc38 (commit)
from c81a96de0ca4d0dd7122d88721a9e2865ff835a7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/hid/gtk/gui-top-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
=================
Commit Messages
=================
commit 448a50d473e83f4202a70df36fcffe30373ffc38
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
Fix select-hidden-layer behavior
When you select a hidden layer, it should toggle the visibility
so that the currently-selected layer is always visible. We were
toggling twice.
:100644 100644 16de5b4... b4dbcaa... M src/hid/gtk/gui-top-window.c
=========
Changes
=========
commit 448a50d473e83f4202a70df36fcffe30373ffc38
Author: Andrew Poelstra <asp11@xxxxxx>
Commit: Andrew Poelstra <asp11@xxxxxx>
Fix select-hidden-layer behavior
When you select a hidden layer, it should toggle the visibility
so that the currently-selected layer is always visible. We were
toggling twice.
diff --git a/src/hid/gtk/gui-top-window.c b/src/hid/gtk/gui-top-window.c
index 16de5b4..b4dbcaa 100644
--- a/src/hid/gtk/gui-top-window.c
+++ b/src/hid/gtk/gui-top-window.c
@@ -690,7 +690,7 @@ layer_selector_select_callback (GHidLayerSelector *ls, int layer, gpointer d)
PCB->SilkActive = (layer == LAYER_BUTTON_SILK);
PCB->RatDraw = (layer == LAYER_BUTTON_RATS);
if (layer < max_copper_layer)
- ChangeGroupVisibility (layer, true, true);
+ ChangeGroupVisibility (layer, active, true);
/* Ensure layer is turned on */
ghid_layer_selector_make_selected_visible (ls);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs