search: retain the current answer when something is toggled
This fixes https://savannah.gnu.org/bugs/?58972. Bug existed since version 5.0, commit bccb0ea0.
This commit is contained in:
parent
b5fb41e963
commit
b38265cfb8
@ -132,6 +132,8 @@ void search_init(bool replacing, bool retain_answer)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
retain_answer = TRUE;
|
||||||
|
|
||||||
func = func_from_key(&response);
|
func = func_from_key(&response);
|
||||||
|
|
||||||
/* If we're here, one of the five toggles was pressed, or
|
/* If we're here, one of the five toggles was pressed, or
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user