mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Merge branch '3150_achown_list_esc'
* 3150_achown_list_esc: Ticket #3150: achown: escape on user list should not accept value.
This commit is contained in:
commit
38629e21de
@ -369,6 +369,8 @@ do_enter_key (WDialog * h, int f_pos)
|
||||
|
||||
result = dlg_run (chl_dlg);
|
||||
|
||||
if (result != B_CANCEL)
|
||||
{
|
||||
if (b_pos != chl_list->pos)
|
||||
{
|
||||
gboolean ok = FALSE;
|
||||
@ -416,6 +418,8 @@ do_enter_key (WDialog * h, int f_pos)
|
||||
dlg_one_down (ch_dlg);
|
||||
f_pos++;
|
||||
}
|
||||
}
|
||||
|
||||
/* Here we used to redraw the window */
|
||||
dlg_destroy (chl_dlg);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user