summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/sheet.c')
-rw-r--r--gui/sheet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index a09efec..96b911d 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -16,6 +16,7 @@
#include <gtk/gtk.h>
+#include "gfx/gfx.h"
#include "file/git-hist.h"
#include "kicad/sch.h"
#include "kicad/delta.h"
@@ -558,7 +559,7 @@ static void sheet_key(void *user, int x, int y, int keyval)
break;
case GDK_KEY_e:
- show_extra = !show_extra;
+ show_extra ^= gfx_pin_type;
redraw(gui);
break;