mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 17:32:25 +01:00
Don't collapse command-line selection on mode change.
This commit is contained in:
@@ -246,10 +246,9 @@ const Modes = Module("modes", {
|
||||
if (push)
|
||||
this._modeStack.push(push);
|
||||
|
||||
if (stack && stack.pop) {
|
||||
for (let [k, { obj, prop, value }] in Iterator(this.topOfStack.saved))
|
||||
if (stack && stack.pop)
|
||||
for (let { obj, prop, value } in values(this.topOfStack.saved))
|
||||
obj[prop] = value;
|
||||
}
|
||||
|
||||
if (this.topOfStack.params.enter && prev)
|
||||
this.topOfStack.params.enter(push ? { push: push } : stack || {},
|
||||
|
||||
Reference in New Issue
Block a user