Browse Source

Force fitting of the Python window

Test commit to see if this fixes an issue for macs

Fixes https://gitlab.com/kicad/code/kicad/issues/8622
6.0.7
Seth Hillbrand 4 years ago
parent
commit
f469d02f47
  1. 5
      scripting/kipython_frame.cpp

5
scripting/kipython_frame.cpp

@ -54,6 +54,11 @@ sys.path.append( stock_path )
// Execute the code to make the makeWindow function we defined above
PyRun_SimpleString( pcbnew_pyshell_one_step.str().c_str() );
/// For unknown reasons, some mac builds don't automatically layout the Python window until resized
/// so force the fit here
Layout();
Fit();
}

Loading…
Cancel
Save