ENH: jump to prepare in preview only mode

Change-Id: Ic7d1b17938172f81f334df020699b3ffbe92d65f
This commit is contained in:
tao.jin 2022-12-08 17:14:59 +08:00 committed by Lane.Wei
parent 6bccef66b0
commit 38dfde8fc2
5 changed files with 54 additions and 14 deletions

View file

@ -665,6 +665,8 @@ public:
static bool has_illegal_filename_characters(const std::string& name);
static void show_illegal_characters_warning(wxWindow* parent);
std::string get_preview_only_filename() { return m_preview_only_filename; };
private:
struct priv;
std::unique_ptr<priv> p;
@ -680,6 +682,7 @@ private:
bool m_only_gcode { false };
bool m_exported_file { false };
bool skip_thumbnail_invalid { false };
std::string m_preview_only_filename;
int m_valid_plates_count { 0 };
void suppress_snapshots();