summaryrefslogtreecommitdiff
path: root/framebuffer/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r--framebuffer/gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index 986c2aee6..9f6a798be 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -1188,7 +1188,8 @@ create_toolbar(struct gui_window *gw,
itmtype = toolbar_layout;
- if (*itmtype == 0) {
+ /* check for the toolbar being disabled */
+ if ((*itmtype == 0) || (*itmtype == 'q')) {
return NULL;
}