mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: move preset dirty suffix to prefix
Change-Id: I52d4d6e3dea28d071eb7bf2f3b5e77b5e1b8c8bb
This commit is contained in:
parent
99fcecf193
commit
c5024af7e2
4 changed files with 19 additions and 29 deletions
|
@ -245,7 +245,7 @@ public:
|
|||
void save(DynamicPrintConfig* parent_config);
|
||||
|
||||
// Return a label of this preset, consisting of a name and a "(modified)" suffix, if this preset is dirty.
|
||||
std::string label() const;
|
||||
std::string label(bool no_alias) const;
|
||||
|
||||
// Set the is_dirty flag if the provided config is different from the active one.
|
||||
void set_dirty(const DynamicPrintConfig &config) { this->is_dirty = ! this->config.diff(config).empty(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue