mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-26 05:02:03 +03:00
Ticket #1663: Panels state saves and restores despite disabled 'Auto save setup'
Added option 'auto_save_setup_panels' into [Midnight-Commander] section of ini-file. If no specified, value of this option is equal to value of 'auto_save_setup' option. Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
52ba225bc5
commit
4f88a84526
@ -332,6 +332,9 @@ save_panel_types (void)
|
||||
{
|
||||
int type;
|
||||
|
||||
if (! mc_config_get_int(mc_main_config,CONFIG_APP_SECTION,"auto_save_setup_panels",auto_save_setup))
|
||||
return;
|
||||
|
||||
type = get_display_type (0);
|
||||
panel_save_type ("New Left Panel", type);
|
||||
if (type == view_listing)
|
||||
|
Loading…
Reference in New Issue
Block a user