From 8b161dac0aa9b83f0b4c69a4d35975527bf6d4e4 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 24 Mar 2016 14:45:28 -0300 Subject: [PATCH] Add ShowBrushPreview command so the user can hide the brush preview with a keyboard shortcut (fix #792) --- data/gui.xml | 2 ++ data/pref.xml | 1 + src/app/commands/cmd_show.cpp | 33 +++++++++++++++++++++++++++++ src/app/commands/commands_list.h | 1 + src/app/ui/editor/brush_preview.cpp | 19 +++++++++++++++-- src/app/ui/editor/editor.h | 1 + 6 files changed, 55 insertions(+), 2 deletions(-) diff --git a/data/gui.xml b/data/gui.xml index dd365d9e5..a1823832a 100644 --- a/data/gui.xml +++ b/data/gui.xml @@ -726,6 +726,8 @@ + + diff --git a/data/pref.xml b/data/pref.xml index b99f9e338..656de3a49 100644 --- a/data/pref.xml +++ b/data/pref.xml @@ -289,6 +289,7 @@