| 132 | } |
| 133 | |
| 134 | QList<layout_xml::SeriesPath> PendingCurveBinder::unresolved() const { |
| 135 | QList<layout_xml::SeriesPath> paths; |
| 136 | for (const PendingCurveEntry& entry : entries_) { |
| 137 | if (entry.plot.isNull()) { |
| 138 | continue; |
| 139 | } |
| 140 | // Report only the half/halves that still don't resolve: an XY entry can be |
| 141 | // pending because just one source is missing, and listing a present series as |
| 142 | // "missing" would mislead the prompt (matches rebindCurveKeys' reporting). |
| 143 | if (entry.isXY() && !resolveSeriesPath(catalog_, entry.x_path).has_value()) { |
| 144 | paths.push_back(entry.x_path); |
| 145 | } |
| 146 | if (!resolveSeriesPath(catalog_, entry.path).has_value()) { |
| 147 | paths.push_back(entry.path); |
| 148 | } |
| 149 | } |
| 150 | return paths; |
| 151 | } |
| 152 | |
| 153 | void PendingCurveBinder::clear() { |
| 154 | entries_.clear(); |