mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Physical printers: Delete selected printer
+ Added context menu for the cog-button near the printer presets
This commit is contained in:
parent
89035febfa
commit
8ac839f427
4 changed files with 76 additions and 22 deletions
|
@ -612,6 +612,9 @@ public:
|
|||
// Delete the current preset, activate the first visible preset.
|
||||
// returns true if the preset was deleted successfully.
|
||||
bool delete_printer(const std::string& name);
|
||||
// Delete the selected preset
|
||||
// returns true if the preset was deleted successfully.
|
||||
bool delete_selected_printer();
|
||||
|
||||
// Return the selected preset, without the user modifications applied.
|
||||
PhysicalPrinter& get_selected_printer() { return m_printers[m_idx_selected]; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue