Fix hide and info buttons

This is partially my fault from when I made a change to allow
the hide button to not be greyed out when the detailed view item
was selected in the list.

I didn't realize that this deactivated the info button on the bottom bar from operating.

to fix this I have adding an additinal mouse mapping called "info_enter".
If there is another way to have to mouse mappings that is preferrable to this
I can do that instead.

Additionally I didn't realize that to disable a mouse mapping you have to 'delete' it so
the hide button was continuing to act as a button even when greyed out if at any point the
detailed view process was selected while detailed view was open.
This commit is contained in:
Barry Van Deerlin
2025-12-29 09:02:02 -08:00
parent 2ca3dd33e4
commit 8ac024a16d
2 changed files with 4 additions and 2 deletions

View File

@@ -403,7 +403,7 @@ namespace Input {
else
keep_going = true;
}
else if (key == "enter") {
else if (is_in(key, "enter", "info_enter")) {
if (Config::getI("proc_selected") == 0 and not Config::getB("show_detailed")) {
return;
}