mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
libsysprof-ui: check current page when checking if empty
This commit is contained in:
@ -421,6 +421,7 @@ sysprof_display_is_empty (SysprofDisplay *self)
|
|||||||
|
|
||||||
return priv->file == NULL &&
|
return priv->file == NULL &&
|
||||||
priv->profiler == NULL &&
|
priv->profiler == NULL &&
|
||||||
|
gtk_stack_get_visible_child (priv->stack) == GTK_WIDGET (priv->assistant) &&
|
||||||
NULL == sysprof_capture_view_get_reader (priv->capture_view);
|
NULL == sysprof_capture_view_get_reader (priv->capture_view);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user