Fixed special character issue in Contrast-by-detail-levels, on behalf of MaWe; see issue #547
This commit is contained in:
@@ -54,13 +54,13 @@ DirPyrEqualizer::DirPyrEqualizer () : Gtk::VBox(), FoldableToolPanel(this) {
|
|||||||
|
|
||||||
for(int i = 0; i < 4; i++)
|
for(int i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
std::stringstream ss;
|
Glib::ustring ss;
|
||||||
ss << i;
|
ss = Glib::ustring::format(i);
|
||||||
if(i == 0)
|
if(i == 0)
|
||||||
ss << " (" << M("TP_DIRPYREQUALIZER_LUMAFINEST") << ")";
|
ss += Glib::ustring::compose(" (%1)", M("TP_DIRPYREQUALIZER_LUMAFINEST"));
|
||||||
if(i == 3)
|
if(i == 3)
|
||||||
ss << " (" << M("TP_DIRPYREQUALIZER_LUMACOARSEST") << ")";
|
ss += Glib::ustring::compose(" (%1)", M("TP_DIRPYREQUALIZER_LUMACOARSEST"));
|
||||||
multiplier[i] = new Adjuster (ss.str(), 0, 4, 0.01, 1.0);
|
multiplier[i] = new Adjuster (ss, 0, 4, 0.01, 1.0);
|
||||||
multiplier[i]->setAdjusterListener(this);
|
multiplier[i]->setAdjusterListener(this);
|
||||||
pack_start(*multiplier[i]);
|
pack_start(*multiplier[i]);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user