Don't request a full frame refresh when editing text properties (stop apperance flickering)

Seems like dead code, the commit should trigger just a canvas refresh.
This commit is contained in:
Marek Roszko 2020-12-09 21:14:29 -05:00
parent 780ae12d47
commit a4879e740a
2 changed files with 2 additions and 2 deletions

View File

@ -393,7 +393,6 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataFromWindow()
default: break;
}
m_Parent->Refresh();
if( pushCommit )
commit.Push( _( "Change text properties" ) );

View File

@ -123,7 +123,8 @@ void PCB_EDIT_FRAME::OnEditItemRequest( BOARD_ITEM* aItem )
{
switch( aItem->Type() )
{
case PCB_TEXT_T:ShowTextPropertiesDialog( aItem );
case PCB_TEXT_T:
ShowTextPropertiesDialog( aItem );
break;
case PCB_PAD_T: