Commit be42bcaf authored by Sébastien Bacher's avatar Sébastien Bacher
Browse files

Reverse the set_active logic

It was wrong since the gsettings port which was leading to have the wrong
log to be selected in the treeview on start (Closes: #673578)
parent a89f823b
......@@ -353,7 +353,7 @@ logview_manager_add_logs_from_names (LogviewManager *manager,
op = multiple_creation_op_new (g_strv_length (names));
for (i = 0; names[i]; i++) {
set_active = (active != NULL) && (g_ascii_strcasecmp (active, names[i]));
set_active = (active != NULL) && (!g_ascii_strcasecmp (active, names[i]));
logview_manager_add_log_from_name (manager, names[i], set_active,
TRUE);
}
......
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