summaryrefslogtreecommitdiff
path: root/font-viewer
diff options
context:
space:
mode:
Diffstat (limited to 'font-viewer')
-rw-r--r--font-viewer/font-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/font-viewer/font-view.c b/font-viewer/font-view.c
index c82126da..df71df75 100644
--- a/font-viewer/font-view.c
+++ b/font-viewer/font-view.c
@@ -472,6 +472,9 @@ info_button_clicked_cb (GtkButton *button,
static void
font_view_ensure_model (FontViewApplication *self)
{
+ if (self->model != NULL)
+ return;
+
self->model = font_view_model_new ();
g_signal_connect (self->model, "config-changed",
G_CALLBACK (font_model_config_changed_cb), self);