summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-30 18:53:23 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-09-30 18:53:23 (GMT)
commit04028ddfd75b4a867ec1964db306dc22b7f2252d (patch)
treee56ee0f2b45ee9807824939e5f1cf39882379015 /gui
parent14908ebcc9eb2d602627797360f099ed0dad8e99 (diff)
downloadeeshow-04028ddfd75b4a867ec1964db306dc22b7f2252d.zip
eeshow-04028ddfd75b4a867ec1964db306dc22b7f2252d.tar.gz
eeshow-04028ddfd75b4a867ec1964db306dc22b7f2252d.tar.bz2
Shift + R now toggles visibility of invisible component references
Such things should be rare in normal use of KiCad, but can occur when working with unusual designs.
Diffstat (limited to 'gui')
-rw-r--r--gui/sheet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index ca321ab..f1a4656 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -566,6 +566,10 @@ static void sheet_key(void *user, int x, int y, int keyval)
show_extra ^= gfx_footprint;
redraw(gui);
break;
+ case GDK_KEY_R: /* Shift + R */
+ show_extra ^= gfx_reference;
+ redraw(gui);
+ break;
case GDK_KEY_n:
gui->diff_mode = diff_new;