Browse Source

Add Fit() call to move exact and create array dialogs

pull/2/head
John Beard 11 years ago
parent
commit
d7f96d37a4
  1. 2
      pcbnew/dialogs/dialog_create_array.cpp
  2. 2
      pcbnew/dialogs/dialog_move_exact.cpp

2
pcbnew/dialogs/dialog_create_array.cpp

@ -110,6 +110,8 @@ DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY( PCB_BASE_FRAME* aParent, wxPoint aOrig
// Run the callbacks once to process the dialog contents
setControlEnablement();
calculateCircularArrayProperties();
Fit();
}

2
pcbnew/dialogs/dialog_move_exact.cpp

@ -54,6 +54,8 @@ DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT( PCB_BASE_FRAME* aParent,
m_xEntry->SetValue( wxString::FromDouble( m_options.entry1 ) );
m_yEntry->SetValue( wxString::FromDouble( m_options.entry2 ) );
m_rotEntry->SetValue( wxString::FromDouble( m_options.entryRotation ) );
Fit();
}

Loading…
Cancel
Save