Try to fix uncorrect setup on Linux

This commit is contained in:
YuSanka 2018-06-22 10:59:54 +02:00
parent 9ba1af5834
commit bfe7896709
3 changed files with 6 additions and 6 deletions

View file

@ -1588,7 +1588,7 @@ bool _3DScene::LegendTexture::generate(const GCodePreviewData& preview_data, con
m_data.clear();
// collects items to render
auto title = GUI::L_str(preview_data.get_legend_title());
auto title = _(preview_data.get_legend_title());
const GCodePreviewData::LegendItemsList& items = preview_data.get_legend_items(tool_colors);
unsigned int items_count = (unsigned int)items.size();