Merge branch '3655_output_lines'

* 3655_output_lines:
  (layout_box): don't update dialog view after close.
  Ticket #3655: the "Output lines" option has no effect.
This commit is contained in:
Andrew Borodin 2016-07-04 09:03:35 +03:00
commit 5848342bb2
1 changed files with 3 additions and 1 deletions

View File

@ -651,13 +651,15 @@ layout_box (void)
for (i = 0; i < (size_t) LAYOUT_OPTIONS_COUNT; i++)
if (check_options[i].widget != NULL)
*check_options[i].variable = check_options[i].widget->state & C_BOOL;
output_lines = _output_lines;
}
else
{
/* restore layout */
panels_layout = old_layout;
output_lines = old_output_lines;
update_split (layout_dlg);
check_split (&panels_layout); /* FIXME: is it really needed? */
}
dlg_destroy (layout_dlg);