Fix the shortcuts for saveSnapshot() and sendSnapshotToClipBoard.

This commit is contained in:
Maxime Gimeno 2016-08-11 15:20:28 +02:00
parent 8af1edec81
commit d9e7a4c46a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}