Commit e2bd249e authored by Thibault Soucarre's avatar Thibault Soucarre
Browse files

correct a bug : visible checkBox was not working after doing a reload

parent 9491fc46
......@@ -353,7 +353,7 @@ void Settings_window::fill_table_events( const string &palette_name ) {
void Settings_window::fill_table_links( const string &palette_name ) {
fill_table( link_types_table,
SLOT(link_types_color_changed(const QColor &)),
SLOT(links_types_visible_changed(int)),
SLOT(links_types_visible_changed(int )),
"link_types", palette_name );
}
......@@ -470,7 +470,7 @@ void Settings_window::on_reload_states_btn_clicked(){
for(map<string, Color *>::iterator it = colors.begin() ;
it != colors.end() ; ++ it) {
add_table_line(states_table, SLOT(state_color_changed(const QColor &)), SLOT(state_visible_changed(int checked)),
add_table_line(states_table, SLOT(state_color_changed(const QColor &)), SLOT(state_visible_changed(int)),
row, (*it).first.c_str(), (*it).second, true);
}
//_c->reload_states();
......@@ -565,7 +565,7 @@ void Settings_window::on_reload_link_types_palette_btn_clicked() {
}
add_table_line(link_types_table, SLOT(link_types_color_changed(const QColor&)), SLOT(liks_types_visible_changed(int checked)),
add_table_line(link_types_table, SLOT(link_types_color_changed(const QColor&)), SLOT(links_types_visible_changed(int)),
row, (*it).first.to_string(), color, true);
}
......@@ -596,7 +596,7 @@ void Settings_window::on_reload_event_types_palette_btn_clicked() {
}
add_table_line(event_types_table, SLOT(event_types_color_changed(const QColor&)), SLOT(event_types_visible_changed(int checked)),
add_table_line(event_types_table, SLOT(event_types_color_changed(const QColor&)), SLOT(event_types_visible_changed(int)),
row, (*it).first.to_string(), color, true);
}
}
......
Supports Markdown
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