Commit 7795b9c4 authored by Andreas Kempe's avatar Andreas Kempe

Made sure the render settings are updated correctly on user input.

parent e32af208
......@@ -256,6 +256,8 @@ void main_window::handle_update_settings()
render_settings.img_height = field_list[5]->text().toULong();
render_settings.iterations = field_list[6]->text().toULong();
new_render_settings = render_settings;
delete mandel_image;
scene->setSceneRect(0, 0, render_settings.img_width, render_settings.img_height);
......
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