gui: fixed issue not displaying emane configs that are generally configured for a node, was attempting only interface specific or emane net fallback
This commit is contained in:
parent
9ccb1880a1
commit
f422d05215
1 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,8 @@ class EmaneModelDialog(Dialog):
|
||||||
self.has_error: bool = False
|
self.has_error: bool = False
|
||||||
try:
|
try:
|
||||||
config = self.node.emane_model_configs.get((self.model, self.iface_id))
|
config = self.node.emane_model_configs.get((self.model, self.iface_id))
|
||||||
|
if not config:
|
||||||
|
config = self.node.emane_model_configs.get((self.model, None))
|
||||||
if not config:
|
if not config:
|
||||||
config = self.app.core.get_emane_model_config(
|
config = self.app.core.get_emane_model_config(
|
||||||
self.node.id, self.model, self.iface_id
|
self.node.id, self.model, self.iface_id
|
||||||
|
|
Loading…
Reference in a new issue