diff --git a/eeschema/connection_graph.cpp b/eeschema/connection_graph.cpp index 1f3653e78c..e806c8c4ce 100644 --- a/eeschema/connection_graph.cpp +++ b/eeschema/connection_graph.cpp @@ -2442,7 +2442,7 @@ bool CONNECTION_GRAPH::ercCheckNoConnects( const CONNECTION_SUBGRAPH* aSubgraph bool CONNECTION_GRAPH::ercCheckFloatingWires( const CONNECTION_SUBGRAPH* aSubgraph ) { - if( !aSubgraph->m_drivers.empty() ) + if( aSubgraph->m_driver ) return true; std::vector wires;