summaryrefslogtreecommitdiff
path: root/src/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.c')
-rw-r--r--src/app.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.c b/src/app.c
index ce3f94f9..e6707b04 100644
--- a/src/app.c
+++ b/src/app.c
@@ -39,6 +39,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
39#include "ui/inputwidget.h" 39#include "ui/inputwidget.h"
40#include "ui/keys.h" 40#include "ui/keys.h"
41#include "ui/labelwidget.h" 41#include "ui/labelwidget.h"
42#include "ui/root.h"
42#include "ui/sidebarwidget.h" 43#include "ui/sidebarwidget.h"
43#include "ui/text.h" 44#include "ui/text.h"
44#include "ui/util.h" 45#include "ui/util.h"
@@ -1662,7 +1663,7 @@ iBool handleCommand_App(const char *cmd) {
1662 else if (equal_Command(cmd, "hidetoolbarscroll")) { 1663 else if (equal_Command(cmd, "hidetoolbarscroll")) {
1663 d->prefs.hideToolbarOnScroll = arg_Command(cmd); 1664 d->prefs.hideToolbarOnScroll = arg_Command(cmd);
1664 if (!d->prefs.hideToolbarOnScroll) { 1665 if (!d->prefs.hideToolbarOnScroll) {
1665 showToolbars_Window(d->window, iTrue); 1666 showToolbars_Root(get_Root(), iTrue);
1666 } 1667 }
1667 return iTrue; 1668 return iTrue;
1668 } 1669 }