diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2021-01-05 11:55:04 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2021-01-05 11:55:04 -0600 |
commit | 21484a339102886611e3ee07b1ef91a38f9f5328 (patch) | |
tree | 169b9607d863c73578f2f227163eb1a7cb5bedf4 | |
parent | 222fe22b8c1cec915375f5b55a0e3c6143923514 (diff) | |
download | epiphany-mcatanzaro/#1417.tar.gz |
history-dialog: ensure Remove button is initially insensitivemcatanzaro/#1417
Currently we crash if clicking Remove when nothing is selected.
Fixes #1417
-rw-r--r-- | src/ephy-history-dialog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-history-dialog.c b/src/ephy-history-dialog.c index ce3d3db3f..7066e8ffe 100644 --- a/src/ephy-history-dialog.c +++ b/src/ephy-history-dialog.c @@ -954,6 +954,7 @@ ephy_history_dialog_init (EphyHistoryDialog *self) self->cancellable = g_cancellable_new (); self->urls = NULL; self->sorter_source = 0; + self->is_selection_empty = TRUE; hdy_search_bar_connect_entry (HDY_SEARCH_BAR (self->search_bar), GTK_ENTRY (self->search_entry)); |