Merge pull request #7317 from Lawrence37/japanese-crash-workaround
Japanese on Windows crash fix
This commit is contained in:
commit
4dd662d730
@ -138,12 +138,12 @@ ProfilePanel::~ProfilePanel ()
|
||||
|
||||
bool ProfilePanel::isCustomSelected()
|
||||
{
|
||||
return profiles->getCurrentLabel() == Glib::ustring ("(" + M("PROFILEPANEL_PCUSTOM") + ")");
|
||||
return profiles->getCurrentLabel().collate_key() == Glib::ustring ("(" + M("PROFILEPANEL_PCUSTOM") + ")").collate_key();
|
||||
}
|
||||
|
||||
bool ProfilePanel::isLastSavedSelected()
|
||||
{
|
||||
return profiles->getCurrentLabel() == Glib::ustring ("(" + M("PROFILEPANEL_PLASTSAVED") + ")");
|
||||
return profiles->getCurrentLabel().collate_key() == Glib::ustring ("(" + M("PROFILEPANEL_PLASTSAVED") + ")").collate_key();
|
||||
}
|
||||
|
||||
Gtk::TreeIter ProfilePanel::getCustomRow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user