mirror of https://github.com/aristocratos/bpytop
Changed info box to restore last selection on close
parent
1a3db49bb9
commit
8b96badd59
|
@ -4040,6 +4040,7 @@ def process_keys():
|
||||||
ProcCollector.detailed_pid = ProcBox.selected_pid
|
ProcCollector.detailed_pid = ProcBox.selected_pid
|
||||||
ProcBox.resized = True
|
ProcBox.resized = True
|
||||||
elif ProcCollector.detailed:
|
elif ProcCollector.detailed:
|
||||||
|
ProcBox.selected = ProcBox.last_selection
|
||||||
ProcBox.last_selection = 0
|
ProcBox.last_selection = 0
|
||||||
ProcCollector.detailed = False
|
ProcCollector.detailed = False
|
||||||
ProcCollector.detailed_pid = None
|
ProcCollector.detailed_pid = None
|
||||||
|
|
Loading…
Reference in New Issue