diff options
Diffstat (limited to 'src/ui/root.c')
-rw-r--r-- | src/ui/root.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/root.c b/src/ui/root.c index 1295371d..a9bc7feb 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -538,6 +538,14 @@ static iBool handleRootCommands_(iWidget *root, const char *cmd) { | |||
538 | #endif | 538 | #endif |
539 | return iFalse; | 539 | return iFalse; |
540 | } | 540 | } |
541 | else if (equal_Command(cmd, "root.arrange")) { | ||
542 | iWidget *prefs = findWidget_Root("prefs"); | ||
543 | if (prefs) { | ||
544 | updatePreferencesLayout_Widget(prefs); | ||
545 | } | ||
546 | root->root->pendingArrange = iFalse; | ||
547 | return iTrue; | ||
548 | } | ||
541 | else if (handleCommand_App(cmd)) { | 549 | else if (handleCommand_App(cmd)) { |
542 | return iTrue; | 550 | return iTrue; |
543 | } | 551 | } |