1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 06:07:59 +01:00

Fix beeping after every command when command after-image isn't disabled.

This commit is contained in:
Kris Maglione
2010-09-28 09:42:59 -04:00
parent 67eee9ad89
commit 60a2f83daa
2 changed files with 3 additions and 2 deletions

View File

@@ -555,12 +555,12 @@ const CommandLine = Module("commandline", {
},
get command() {
if (this.widgets.command)
if (this.commandVisible && this.widgets.command)
return this._lastCommand = this.widgets.command[1];
return this._lastCommand;
},
set command(val) {
if (this.widgets.command)
if (this.commandVisible)
return this.widgets.command = val;
return this._lastCommand = val;
},