ui: keep the selected file in state, drop the File: title line
The File: EF.DIR [LF] line doubled as the selection store: pysimFsClickFile wrote a formatted display string there and pysimFsRead/Save parsed it back (stripping '✗ ' and ' [TYPE]'). The pane now keeps the name in pysimFsSelected, the redundant title is gone (FID/type/size/FCI remain in the info block), and the dead pysimFsSelect() plus the unused 'File:' RU entry are removed. Read/Save still re-select on the server first: pySim's current selection is a shared cursor that tree expansion, scans and commands move, so it cannot identify the file shown in the pane. SW cache v121 -> v122; structural test updated.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
const CACHE = 'otaman-v121';
|
||||
const CACHE = 'otaman-v122';
|
||||
const URLS = [
|
||||
'index.html',
|
||||
'help.html',
|
||||
|
||||
Reference in New Issue
Block a user