Commit 27316248 authored by Olivier Lagrasse's avatar Olivier Lagrasse
Browse files

Correct bug on the export dialog box

parent 0393c1bd
......@@ -372,11 +372,16 @@ void Interface_graphic::on_export_file_triggered(){
if(_is_rendering_trace == false)
return;
char temp[10];
sprintf(temp, "%9f", Info::Render::_x_min_visible);
_ui_min_time_export->setText(temp);
sprintf(temp, "%9f", Info::Render::_x_max_visible);
_ui_max_time_export->setText(temp);
ostringstream temp;
temp.str("");
temp << Info::Render::_x_min_visible;
_ui_min_time_export->setText(temp.str().c_str());
temp.str("");
temp << Info::Render::_x_max_visible;
_ui_max_time_export->setText(temp.str().c_str());
_ui_time_selection_export->show();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment