diff --git a/src/GUI/dialog.cxx b/src/GUI/dialog.cxx index 0ec2b9e4e..6d9dafe19 100644 --- a/src/GUI/dialog.cxx +++ b/src/GUI/dialog.cxx @@ -748,7 +748,7 @@ FGDialog::setupObject (puObject * object, SGPropertyNode * props) j++; const char *cmd = bindings[i]->getStringValue("command"); - if (!strcmp(cmd, "nasal") && _module[0]) + if (!strcmp(cmd, "nasal")) bindings[i]->setStringValue("module", _module.c_str()); binding = dest->getChild("binding", j, true);