Implemented another behavior of the "Slice Now" / "Export/Send G-code" buttons (SPE-831)

This commit is contained in:
YuSanka 2019-03-01 11:00:34 +01:00
parent a76bd40c62
commit a123099f80
7 changed files with 145 additions and 26 deletions

View file

@ -123,6 +123,9 @@ public:
// This "finished" flag does not account for the final export of the output file (.gcode or zipped PNGs),
// and it does not account for the OctoPrint scheduling.
bool finished() const { return m_print->finished(); }
// set status line
void set_status(const std::string & status_str) const { m_print->set_status(100, status_str); }
private:
void thread_proc();