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){
|
||||
scene.installEventFilter(tcc);
|
||||
this->graphicsView->setMouseTracking(true);
|
||||
tcc->show();
|
||||
} else {
|
||||
scene.removeEventFilter(tcc);
|
||||
this->graphicsView->setMouseTracking(false);
|
||||
tcc->hide();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -209,11 +209,9 @@ MainWindow::on_actionCircumcenter_toggled(bool checked)
|
|||
{
|
||||
if(checked){
|
||||
scene.installEventFilter(tcc);
|
||||
this->graphicsView->setMouseTracking(true);
|
||||
tcc->show();
|
||||
} else {
|
||||
scene.removeEventFilter(tcc);
|
||||
this->graphicsView->setMouseTracking(false);
|
||||
tcc->hide();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue