mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-22 17:50:52 +01:00
Definitely fix the rotation problem :)
Only use space for every rotation
This commit is contained in:
@@ -87,7 +87,7 @@ bool ESEventAddTerminal::mouseReleaseEvent(QGraphicsSceneMouseEvent *event) {
|
||||
@return
|
||||
*/
|
||||
bool ESEventAddTerminal::keyPressEvent(QKeyEvent *event) {
|
||||
if (event -> key() == Qt::Key_R) {
|
||||
if (event -> key() == Qt::Key_Space) {
|
||||
|
||||
switch (m_terminal->orientation()) {
|
||||
case Qet::North :
|
||||
|
||||
Reference in New Issue
Block a user