diff --git a/src/app.rs b/src/app.rs index 7c8e370..7d73045 100644 --- a/src/app.rs +++ b/src/app.rs @@ -40,7 +40,7 @@ use crate::ui as GPSUI; use crate::{GPS_DEBUG, GPS_ERROR, GPS_INFO, GPS_TRACE, GPS_WARN}; -use crate::graphmanager::{GraphView, PortDirection, PortPresence}; +use crate::graphmanager::{GraphView, PortDirection, PortPresence, PropertyExt}; #[derive(Debug)] pub struct GPSAppInner { @@ -696,7 +696,7 @@ impl GPSApp { pub fn element_property(&self, node_id: u32, property_name: &str) -> Option { let node = self.graphview.borrow().node(node_id).unwrap(); - node.property(property_name) + PropertyExt::property(&node, property_name) } fn clear_graph(&self) { diff --git a/src/gps/pipeline.rs b/src/gps/pipeline.rs index 5fee00a..de2ccfc 100644 --- a/src/gps/pipeline.rs +++ b/src/gps/pipeline.rs @@ -17,7 +17,7 @@ // // SPDX-License-Identifier: GPL-3.0-only -use crate::graphmanager::{GraphView, Node, NodeType, PortDirection}; +use crate::graphmanager::{GraphView, Node, NodeType, PortDirection, PropertyExt}; use crate::logger; use crate::ui::message as GPSMessage; use crate::GPS_INFO;