Skip to content

Commit 9f06841

Browse files
committed
Merge pull request #5718 from maxGimeno/Demo-fix_statistics-maxGimeno
Polyhedron Demo: Fix classname property for selection_item
2 parents 8464338 + b21f8a4 commit 9f06841

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Polyhedron/demo/Polyhedron/MainWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2652,7 +2652,7 @@ QString MainWindow::get_item_stats()
26522652
QString classname = item->property("classname").toString();
26532653
if(classname.isEmpty())
26542654
classname = item->metaObject()->className();
2655-
if(classnames.at(i).contains(classname))
2655+
if(classnames.at(i) == classname)
26562656
{
26572657
items[i] << s_item;
26582658
break;

Polyhedron/demo/Polyhedron/Scene_polyhedron_selection_item.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct Scene_polyhedron_selection_item_priv{
9595
item(parent)
9696
{
9797
filtered_graph = nullptr;
98-
item->setProperty("classname", QString("surface_mesh"));
98+
item->setProperty("classname", QString("surface_mesh_selection"));
9999
}
100100

101101
void initializeBuffers(CGAL::Three::Viewer_interface *viewer) const;

0 commit comments

Comments
 (0)