diff options
author | Pete <pgm987@gmail.com> | 2015-06-01 14:47:02 +0100 |
---|---|---|
committer | Pete <pgm987@gmail.com> | 2015-06-01 14:47:02 +0100 |
commit | a0a7d04a5f28957f7b07c533e38a4cc59888164c (patch) | |
tree | 5abea47f1706bba1060a35dcd08c6164babbfb93 | |
parent | e8eb23c4f0982cecf57b1fc76880c6bfff5e3bef (diff) | |
download | profani-tty-a0a7d04a5f28957f7b07c533e38a4cc59888164c.tar.gz |
Tidy up windows when enabling
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |