if (status() == Open) {
// FIXME UNICODE
docstring s(from_utf8(params_.name));
- if (undefined())
- s = _("Undef: ") + s;
// Chop off prefix:
if (s.find(':') != string::npos)
s = s.substr(s.find(':'));
+ if (undefined())
+ s = _("Undef: ") + s;
layout_.labelstring = s;
}
return changed;
if (status() == Open) {
// FIXME UNICODE
docstring s(from_utf8(params_.name));
- if (undefined())
- s = _("Undef: ") + s;
// Chop off prefix:
if (s.find(':') != string::npos)
s = s.substr(s.find(':'));
+ if (undefined())
+ s = _("Undef: ") + s;
layout_.labelstring = s;
}
}