Commit d7f96d37 authored by John Beard's avatar John Beard

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

parent 8c6313ac
...@@ -110,6 +110,8 @@ DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY( PCB_BASE_FRAME* aParent, wxPoint aOrig ...@@ -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 // Run the callbacks once to process the dialog contents
setControlEnablement(); setControlEnablement();
calculateCircularArrayProperties(); calculateCircularArrayProperties();
Fit();
} }
......
...@@ -54,6 +54,8 @@ DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT( PCB_BASE_FRAME* aParent, ...@@ -54,6 +54,8 @@ DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT( PCB_BASE_FRAME* aParent,
m_xEntry->SetValue( wxString::FromDouble( m_options.entry1 ) ); m_xEntry->SetValue( wxString::FromDouble( m_options.entry1 ) );
m_yEntry->SetValue( wxString::FromDouble( m_options.entry2 ) ); m_yEntry->SetValue( wxString::FromDouble( m_options.entry2 ) );
m_rotEntry->SetValue( wxString::FromDouble( m_options.entryRotation ) ); m_rotEntry->SetValue( wxString::FromDouble( m_options.entryRotation ) );
Fit();
} }
......
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