Fix previous workaround

Now the shortcut for the rotate action is key_space and use key_R to
rotate terminal on the fly before placing it in the drawing.
This commit is contained in:
Laurent Trinques
2022-05-25 17:39:49 +02:00
parent 6a669f1399
commit bf32219154
2 changed files with 2 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ bool ESEventAddTerminal::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) {
@return
*/
bool ESEventAddTerminal::keyPressEvent(QKeyEvent *event) {
if (event -> key() == Qt::Key_Space) {
if (event -> key() == Qt::Key_R) {
switch (m_terminal->orientation()) {
case Qet::North :