mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-21 07:05:46 +01:00
Fix eternally gray input boxes when trying to edit with a nonexistent 'editor'.
This commit is contained in:
@@ -424,6 +424,8 @@ var IO = Module("io", {
|
|||||||
|
|
||||||
if (!file || !file.exists()) {
|
if (!file || !file.exists()) {
|
||||||
util.dactyl.echoerr("Command not found: " + program);
|
util.dactyl.echoerr("Command not found: " + program);
|
||||||
|
if (callable(blocking))
|
||||||
|
util.trapErrors(blocking);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user