diff --git a/OpenMesh/OMPropertyVisualizerIntegerT_impl.hh b/OpenMesh/OMPropertyVisualizerIntegerT_impl.hh index 4822634f194f039d833dcc54f809c1f311b180f9..3a9684b101c83c4d5d2b665ff7f9d6e311b8a70e 100644 --- a/OpenMesh/OMPropertyVisualizerIntegerT_impl.hh +++ b/OpenMesh/OMPropertyVisualizerIntegerT_impl.hh @@ -61,6 +61,8 @@ OMPropertyVisualizerInteger::OMPropertyVisualizerInteger(MeshT* _mesh, w->intAbsolute->setChecked(false); //because we already have unsigned integers wo don't have to calculate their absolute value w->intAbsolute->setCheckable(false); } + this->connect(w->computeHistogramButton, &QPushButton::clicked, + [this, w](){this->template showHistogram(w->histogram);}); } template diff --git a/OpenVolumeMesh/OVMPropertyVisualizer.hh b/OpenVolumeMesh/OVMPropertyVisualizer.hh index 6791d9b8d1498597b484be6885d0eff657f11a5d..50e67b6f16335927a0bfad71214643012d31cc5f 100644 --- a/OpenVolumeMesh/OVMPropertyVisualizer.hh +++ b/OpenVolumeMesh/OVMPropertyVisualizer.hh @@ -162,7 +162,7 @@ template