From: <gi...@gp...> - 2011-07-23 15:16:41
|
The branch, master has been updated via 69cc8291eb5e9b2cdcbc33a702b1044a4ce906ff (commit) from 0c2f7e772f0fa11bfc7a7179ad43fb358d44941d (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/search.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) ================= Commit Messages ================= commit 69cc8291eb5e9b2cdcbc33a702b1044a4ce906ff Author: Peter Clifton <pc...@ca...> Commit: Peter Clifton <pc...@ca...> Allow editing of ordinary text objects when element names are hidden Closes-bug: lp-810678 :100644 100644 30fe883... 60f6f46... M src/search.c ========= Changes ========= commit 69cc8291eb5e9b2cdcbc33a702b1044a4ce906ff Author: Peter Clifton <pc...@ca...> Commit: Peter Clifton <pc...@ca...> Allow editing of ordinary text objects when element names are hidden Closes-bug: lp-810678 diff --git a/src/search.c b/src/search.c index 30fe883..60f6f46 100644 --- a/src/search.c +++ b/src/search.c @@ -1167,11 +1167,14 @@ SearchObjectByLocation (int Type, SearchBox = point_box (X, Y); } - if (TEST_FLAG (LOCKNAMESFLAG, PCB) - || TEST_FLAG (HIDENAMESFLAG, PCB)) + if (TEST_FLAG (LOCKNAMESFLAG, PCB)) { Type &= ~ (ELEMENTNAME_TYPE | TEXT_TYPE); } + if (TEST_FLAG (HIDENAMESFLAG, PCB)) + { + Type &= ~ELEMENTNAME_TYPE; + } if (TEST_FLAG (ONLYNAMESFLAG, PCB)) { Type &= (ELEMENTNAME_TYPE | TEXT_TYPE); |