Follow-up of 47604b6326
-> Fixed layout at startup
This commit is contained in:
parent
03f17a13e7
commit
dff9af20a4
3 changed files with 5 additions and 0 deletions
|
@ -143,6 +143,9 @@ DPIFrame(NULL, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_S
|
||||||
wxGetApp().persist_window_geometry(this, true);
|
wxGetApp().persist_window_geometry(this, true);
|
||||||
|
|
||||||
update_ui_from_settings(); // FIXME (?)
|
update_ui_from_settings(); // FIXME (?)
|
||||||
|
|
||||||
|
if (m_plater != nullptr)
|
||||||
|
m_plater->show_action_buttons(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainFrame::update_title()
|
void MainFrame::update_title()
|
||||||
|
|
|
@ -5591,6 +5591,7 @@ void Plater::suppress_background_process(const bool stop_background_process)
|
||||||
void Plater::fix_through_netfabb(const int obj_idx, const int vol_idx/* = -1*/) { p->fix_through_netfabb(obj_idx, vol_idx); }
|
void Plater::fix_through_netfabb(const int obj_idx, const int vol_idx/* = -1*/) { p->fix_through_netfabb(obj_idx, vol_idx); }
|
||||||
|
|
||||||
void Plater::update_object_menu() { p->update_object_menu(); }
|
void Plater::update_object_menu() { p->update_object_menu(); }
|
||||||
|
void Plater::show_action_buttons(const bool is_ready_to_slice) const { p->show_action_buttons(is_ready_to_slice); }
|
||||||
|
|
||||||
void Plater::copy_selection_to_clipboard()
|
void Plater::copy_selection_to_clipboard()
|
||||||
{
|
{
|
||||||
|
|
|
@ -239,6 +239,7 @@ public:
|
||||||
std::vector<std::string> get_colors_for_color_print() const;
|
std::vector<std::string> get_colors_for_color_print() const;
|
||||||
|
|
||||||
void update_object_menu();
|
void update_object_menu();
|
||||||
|
void show_action_buttons(const bool is_ready_to_slice) const;
|
||||||
|
|
||||||
wxString get_project_filename(const wxString& extension = wxEmptyString) const;
|
wxString get_project_filename(const wxString& extension = wxEmptyString) const;
|
||||||
void set_project_filename(const wxString& filename);
|
void set_project_filename(const wxString& filename);
|
||||||
|
|
Loading…
Reference in a new issue