mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Only save if there is a curretn_panel
This commit is contained in:
parent
d2b3c007b3
commit
b90751e296
@ -380,6 +380,7 @@ save_setup (void)
|
||||
save_string ("Dirs", "other_dir",
|
||||
get_other_type () == view_listing
|
||||
? opanel->cwd : ".", profile);
|
||||
if (get_current_panel () != NULL)
|
||||
WritePrivateProfileString ("Dirs", "current_is_left",
|
||||
get_current_index () == 0 ? "1" : "0", profile);
|
||||
save_hotlist ();
|
||||
|
Loading…
Reference in New Issue
Block a user