* screen.c (chdir_other_panel): Use do_panel_cd() on the
opposite panel instead of changing the current panel twice.
Этот коммит содержится в:
родитель
325e5af99d
Коммит
248e59ed5d
@ -1,5 +1,8 @@
|
||||
2002-12-19 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* screen.c (chdir_other_panel): Use do_panel_cd() on the
|
||||
opposite panel instead of changing the current panel twice.
|
||||
|
||||
* main.c (make_panels_dirty): Preserve the cursor position.
|
||||
|
||||
2002-12-18 Tomas Styblo <tripie@cpan.org>
|
||||
|
@ -1993,9 +1993,7 @@ chdir_other_panel (WPanel *panel)
|
||||
set_display_type (get_other_index (), view_listing);
|
||||
}
|
||||
|
||||
change_panel ();
|
||||
do_cd (panel->cwd, cd_exact);
|
||||
change_panel ();
|
||||
do_panel_cd (opanel, cpanel->cwd, cd_exact);
|
||||
|
||||
/* try to select current filename on the other panel */
|
||||
if (!panel->is_panelized) {
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user