diff --git a/src/GUI/Preset.hpp b/src/GUI/Preset.hpp index 9df1fc8cd..9a783dfa4 100644 --- a/src/GUI/Preset.hpp +++ b/src/GUI/Preset.hpp @@ -35,7 +35,7 @@ public: bool compatible(const Preset& other) {return (this->group == preset_t::Printer || (compatible(other.name) && other.group == preset_t::Printer));} /// Format the name appropriately. - wxString dropdown_name() { return (this->dirty() ? wxString(this->name) << " " << _("(modified)") : this->name); } + wxString dropdown_name() { return (this->dirty() ? wxString(this->name) << " " << _("(modified)") : wxString(this->name)); } bool file_exists(wxString name);