From 68eb62ca34fb936efa5bb35cddbf89f61e6912e2 Mon Sep 17 00:00:00 2001 From: Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> Date: Tue, 30 Jul 2019 12:17:51 +1000 Subject: Hide spellcheck dialog if Aspell is missing Hide warnings emitted if Aspell/Potrace missing --- src/widgets/toolbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/widgets/toolbox.cpp') diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 5a33616c5..cb9a32e95 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -726,7 +726,7 @@ void setup_aux_toolbox(GtkWidget *toolbox, SPDesktop *desktop) gtk_widget_set_name( holder, aux_toolboxes[i].ui_name ); gtk_widget_show(sub_toolbox); gtk_widget_show(holder); - } else { + } else if (aux_toolboxes[i].swatch_verb_id != SP_VERB_NONE) { g_warning("Could not create toolbox %s", aux_toolboxes[i].ui_name); } } -- cgit v1.2.3