summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2019-03-18 10:22:46 +0000
committerTavmjong Bah <tavmjong@free.fr>2019-03-18 10:22:46 +0000
commit71637b96c731c7217be7fec7583dd297f041b5e0 (patch)
tree3c3f8823fb8d7b2b5796e25bb7bb0aa142be2146 /src/ui
parentKeep font variations widget in sync with CSS style widget. (diff)
downloadinkscape-71637b96c731c7217be7fec7583dd297f041b5e0.tar.gz
inkscape-71637b96c731c7217be7fec7583dd297f041b5e0.zip
Don't rebuild font list is only selection changed.
(Rebuilding causes font family row to be unselected.)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/toolbar/text-toolbar.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/toolbar/text-toolbar.cpp b/src/ui/toolbar/text-toolbar.cpp
index f6ad7f4e6..bd73fe584 100644
--- a/src/ui/toolbar/text-toolbar.cpp
+++ b/src/ui/toolbar/text-toolbar.cpp
@@ -2097,7 +2097,6 @@ TextToolbar::selection_changed(Inkscape::Selection * /*selection*/, bool subsele
_freeze = true;
Inkscape::FontLister* fontlister = Inkscape::FontLister::get_instance();
- fontlister->update_font_list (SP_ACTIVE_DESKTOP->getDocument());
fontlister->selection_update();
// Update font list, but only if widget already created.