Commit e1506cdc authored by Mathieu Faverge's avatar Mathieu Faverge

Put back some call to the render update call

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