From a0a7d04a5f28957f7b07c533e38a4cc59888164c Mon Sep 17 00:00:00 2001 From: Pete Date: Mon, 1 Jun 2015 14:47:02 +0100 Subject: Tidy up windows when enabling --- src/command/commands.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/command/commands.c b/src/command/commands.c index 86781330..9b4d6635 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -727,6 +727,10 @@ cmd_winstidy(gchar **args, struct cmd_help_t help) { gboolean result = _cmd_set_boolean_preference(args[0], help, "Wins Auto Tidy", PREF_WINS_AUTO_TIDY); + if( result ) { + ui_tidy_wins(); + } + return result; } -- cgit 1.4.1-2-gfad0