mirror of https://github.com/CGAL/cgal
Fix the shortcuts for saveSnapshot() and sendSnapshotToClipBoard.
This commit is contained in:
parent
8af1edec81
commit
d9e7a4c46a
|
|
@ -405,7 +405,7 @@ void Viewer::keyPressEvent(QKeyEvent* e)
|
|||
d->scene->printPrimitiveIds(this);
|
||||
update();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
else if(e->key() == Qt::Key_C && e->modifiers() & Qt::ControlModifier){
|
||||
d->sendSnapshotToClibboard(this);
|
||||
|
|
@ -413,7 +413,7 @@ void Viewer::keyPressEvent(QKeyEvent* e)
|
|||
}
|
||||
|
||||
else if(e->key() == Qt::Key_S && e->modifiers() & Qt::ControlModifier){
|
||||
saveSnapshot(true);
|
||||
this->saveSnapshot(true,true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue