forked from AuroraMiddleware/gtk
filechooserwidget: Avoid criticals when in recent mode
Don't try to use the browse_files_model just because we have a location entry. The model might still be NULL at this point.
This commit is contained in:
parent
970d9dc06e
commit
d7fb33caf7
@ -7169,7 +7169,8 @@ list_selection_changed (GtkTreeSelection *selection,
|
||||
if (gtk_tree_view_get_model (GTK_TREE_VIEW (priv->browse_files_tree_view)) == NULL)
|
||||
return;
|
||||
|
||||
if (priv->location_entry)
|
||||
if (priv->location_entry &&
|
||||
priv->browse_files_model)
|
||||
update_chooser_entry (impl);
|
||||
|
||||
location_bar_update (impl);
|
||||
|
Loading…
Reference in New Issue
Block a user