Browse Source

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.
6.0.7
Marek Roszko 5 years ago
parent
commit
a4879e740a
  1. 1
      pcbnew/dialogs/dialog_text_properties.cpp
  2. 3
      pcbnew/edit.cpp

1
pcbnew/dialogs/dialog_text_properties.cpp

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

3
pcbnew/edit.cpp

@ -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:

Loading…
Cancel
Save