diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-10-15 18:01:50 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-10-15 18:01:50 +0000 |
| commit | 83e50305d77a98329ea2085f90b6a9f154e1509f (patch) | |
| tree | 44c1525e2fb5488c702308dd0e3e7e60c67326e2 /src/ui/dialog/text-edit.cpp | |
| parent | Fix build (diff) | |
| download | inkscape-83e50305d77a98329ea2085f90b6a9f154e1509f.tar.gz inkscape-83e50305d77a98329ea2085f90b6a9f154e1509f.zip | |
LiamW's initial font caching work.
(bzr r13616.1.1)
Diffstat (limited to 'src/ui/dialog/text-edit.cpp')
| -rw-r--r-- | src/ui/dialog/text-edit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/text-edit.cpp b/src/ui/dialog/text-edit.cpp index a00db1715..9996fc0f9 100644 --- a/src/ui/dialog/text-edit.cpp +++ b/src/ui/dialog/text-edit.cpp @@ -343,9 +343,9 @@ void TextEdit::onReadSelection ( gboolean dostyle, gboolean /*docontent*/ ) Inkscape::FontLister* fontlister = Inkscape::FontLister::get_instance(); - // This is done for us by text-toolbar. No need to do it twice. - // fontlister->update_font_list( sp_desktop_document( SP_ACTIVE_DESKTOP )); - // fontlister->selection_update(); + // This is normally done for us by text-toolbar but only when we are in text editing context + fontlister->update_font_list(sp_desktop_document(this->desktop)); + fontlister->selection_update(); Glib::ustring fontspec = fontlister->get_fontspec(); |
