From dec175f9dec2cca0d3f6eabf80ba722a2b7d0d34 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 22 Jul 2018 21:32:34 -0500 Subject: [PATCH] Properly convert to wxString --- src/GUI/Preset.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);