Follow-up of db31995310
- Fixed opening of gcode files when dragging and dropping them into GCodeViewer
This commit is contained in:
parent
70d0e9eb44
commit
380f8ea8d5
@ -1609,7 +1609,8 @@ bool PlaterDropTarget::OnDropFiles(wxCoord x, wxCoord y, const wxArrayString &fi
|
|||||||
|
|
||||||
m_mainframe.Raise();
|
m_mainframe.Raise();
|
||||||
m_mainframe.select_tab(size_t(0));
|
m_mainframe.select_tab(size_t(0));
|
||||||
m_plater.select_view_3D("3D");
|
if (wxGetApp().is_editor())
|
||||||
|
m_plater.select_view_3D("3D");
|
||||||
bool res = m_plater.load_files(filenames);
|
bool res = m_plater.load_files(filenames);
|
||||||
m_mainframe.update_title();
|
m_mainframe.update_title();
|
||||||
return res;
|
return res;
|
||||||
|
Loading…
Reference in New Issue
Block a user