mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
visualizers: clear selected row when showing details
The details don't correspond to any selected row, so clear the row when we switch to the details page.
This commit is contained in:
@ -327,7 +327,11 @@ change_page_cb (GSimpleAction *action,
|
||||
if (g_variant_is_of_type (param, G_VARIANT_TYPE_STRING))
|
||||
{
|
||||
const gchar *str = g_variant_get_string (param, NULL);
|
||||
|
||||
gtk_stack_set_visible_child_name (priv->pages, str);
|
||||
|
||||
if (g_str_equal (str, "details"))
|
||||
sysprof_visualizers_frame_unselect_row (priv->visualizers);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user