diff --git a/src/interface/Settings_window.cpp b/src/interface/Settings_window.cpp index e94a8846664f8c96240c287b4a2cdc54b7bc2343..5e5e4d0c7c09cc14c992fcde93abfa2c34876d94 100644 --- a/src/interface/Settings_window.cpp +++ b/src/interface/Settings_window.cpp @@ -272,9 +272,9 @@ Settings_tab::add_table_line(int &row, content->setCellWidget(row, 2, cb); content->setItem(row, 3, alias); - // If we reload from file, backup the changes + /* If we reload from file, backup the changes */ if( !used ) { - // Change the color test + /* Change the color test */ if ( (c != ev->get_used_color()) || (!ev->get_visible()) ) { @@ -640,7 +640,6 @@ Settings_window::on_btn_ok_clicked() _tab_links ->on_btn_apply_clicked(); if( _changed ) { - //on_apply_clicked(); // Catch by at least the interface_graphic which will dispatch it to the classes which needs emit settings_changed(); @@ -662,20 +661,19 @@ Settings_window::on_btn_cancel_clicked() void Settings_window::on_cb_tip_currentIndexChanged(int index) { - std::cout << "Slot pointe appelé" << std::endl; Info::Render::_arrows_shape = index; - //_core->launch_action(Core::_STATE_RENDER_UPDATE); + _c->launch_action(Core::_STATE_RENDER_UPDATE); } void Settings_window::on_cb_nolinks_stateChanged(int index) { - //_core->launch_action(Core::_STATE_RENDER_UPDATE); + _c->launch_action(Core::_STATE_RENDER_UPDATE); } void Settings_window::on_cb_noevents_stateChanged(int index) { - //_core->launch_action(Core::_STATE_RENDER_UPDATE); + _c->launch_action(Core::_STATE_RENDER_UPDATE); }