Commit 538b1ed3 authored by jean-pierre charras's avatar jean-pierre charras

Eeschema: fix bug when rotating (only using the Rotate hotkey) a field.

parent 25f95ec1
...@@ -595,13 +595,15 @@ void SCH_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPosition, ...@@ -595,13 +595,15 @@ void SCH_EDIT_FRAME::OnHotKey( wxDC* aDC, int aHotKey, const wxPoint& aPosition,
case SCH_FIELD_T: case SCH_FIELD_T:
cmd.SetId( ID_POPUP_SCH_ROTATE_FIELD ); cmd.SetId( ID_POPUP_SCH_ROTATE_FIELD );
wxPostEvent( this, cmd ); wxPostEvent( this, cmd );
break;
case SCH_BITMAP_T: case SCH_BITMAP_T:
cmd.SetId( ID_POPUP_SCH_ROTATE_IMAGE ); cmd.SetId( ID_POPUP_SCH_ROTATE_IMAGE );
wxPostEvent( this, cmd ); wxPostEvent( this, cmd );
break;
default: default:
; break;
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment