mirror of https://github.com/CGAL/cgal
Remove setMouseTracking. It seems to be on by default.
This commit is contained in:
parent
8c017c943c
commit
ad6dbd0209
|
|
@ -236,11 +236,9 @@ MainWindow::on_actionCircumcenter_toggled(bool checked)
|
||||||
{
|
{
|
||||||
if(checked){
|
if(checked){
|
||||||
scene.installEventFilter(tcc);
|
scene.installEventFilter(tcc);
|
||||||
this->graphicsView->setMouseTracking(true);
|
|
||||||
tcc->show();
|
tcc->show();
|
||||||
} else {
|
} else {
|
||||||
scene.removeEventFilter(tcc);
|
scene.removeEventFilter(tcc);
|
||||||
this->graphicsView->setMouseTracking(false);
|
|
||||||
tcc->hide();
|
tcc->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -209,11 +209,9 @@ MainWindow::on_actionCircumcenter_toggled(bool checked)
|
||||||
{
|
{
|
||||||
if(checked){
|
if(checked){
|
||||||
scene.installEventFilter(tcc);
|
scene.installEventFilter(tcc);
|
||||||
this->graphicsView->setMouseTracking(true);
|
|
||||||
tcc->show();
|
tcc->show();
|
||||||
} else {
|
} else {
|
||||||
scene.removeEventFilter(tcc);
|
scene.removeEventFilter(tcc);
|
||||||
this->graphicsView->setMouseTracking(false);
|
|
||||||
tcc->hide();
|
tcc->hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue