mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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 &&
|
||||
priv->profiler == NULL &&
|
||||
gtk_stack_get_visible_child (priv->stack) == GTK_WIDGET (priv->assistant) &&
|
||||
NULL == sysprof_capture_view_get_reader (priv->capture_view);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user