diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2018-04-04 15:08:34 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2018-04-04 15:08:34 +0000 |
| commit | 76329425ae43606974e8b744acd507e51900010b (patch) | |
| tree | 578c81d5596e2df4634bf5ad900ab9d708d1b6d0 /src/widgets/text-toolbar.cpp | |
| parent | Unset 'font-variation-settings' if not used. (diff) | |
| download | inkscape-76329425ae43606974e8b744acd507e51900010b.tar.gz inkscape-76329425ae43606974e8b744acd507e51900010b.zip | |
Remove call to update font list when selection changes.
A selection change does not alter the list of fonts in a docoument.
This change fixes a bug in the Text and Font dialog where the
font-family is unselected after the Apply button is pressed.
Diffstat (limited to 'src/widgets/text-toolbar.cpp')
| -rw-r--r-- | src/widgets/text-toolbar.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/widgets/text-toolbar.cpp b/src/widgets/text-toolbar.cpp index db3311ab9..e8727d36e 100644 --- a/src/widgets/text-toolbar.cpp +++ b/src/widgets/text-toolbar.cpp @@ -1473,9 +1473,6 @@ static void sp_text_toolbox_selection_changed(Inkscape::Selection */*selection*/ INK_COMBOBOXENTRY_ACTION( g_object_get_data( tbl, "TextFontStyleAction" ) ); Inkscape::FontLister* fontlister = Inkscape::FontLister::get_instance(); - if (!subselection) { - fontlister->update_font_list( SP_ACTIVE_DESKTOP->getDocument()); - } fontlister->selection_update(); // Update font list, but only if widget already created. |
