ui.tools.browser: don't add current page to history if re-displaying it again
parent
9f7c0a3ccb
commit
def5c18a82
|
|
@ -25,7 +25,10 @@ M: browser-gadget set-history-value
|
||||||
|
|
||||||
: show-help ( link browser-gadget -- )
|
: show-help ( link browser-gadget -- )
|
||||||
[ >link ] dip
|
[ >link ] dip
|
||||||
[ [ add-recent ] [ history>> add-history ] bi* ]
|
[
|
||||||
|
2dup model>> value>> =
|
||||||
|
[ 2drop ] [ [ add-recent ] [ history>> add-history ] bi* ] if
|
||||||
|
]
|
||||||
[ model>> set-model ]
|
[ model>> set-model ]
|
||||||
2bi ;
|
2bi ;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue