#5360 - GCode Viewer -> Added menu command to reload gcode file

This commit is contained in:
enricoturri1966 2020-12-03 13:48:54 +01:00
parent 0a33aedc3a
commit 2a0a9af0c9
4 changed files with 26 additions and 5 deletions

View file

@ -144,6 +144,7 @@ public:
void extract_config_from_project();
void load_gcode();
void load_gcode(const wxString& filename);
void reload_gcode_from_disk();
void refresh_print();
std::vector<size_t> load_files(const std::vector<boost::filesystem::path>& input_files, bool load_model = true, bool load_config = true, bool imperial_units = false);
@ -154,6 +155,8 @@ public:
bool load_files(const wxArrayString& filenames);
#endif // ENABLE_DRAG_AND_DROP_FIX
const wxString& get_last_loaded_gcode() const { return m_last_loaded_gcode; }
void update();
void stop_jobs();
void select_view(const std::string& direction);