diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-17 02:47:53 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-17 02:47:53 +0000 |
| commit | 2a2db8af11c2e518bd7bfe520e2f88a7e439d939 (patch) | |
| tree | bdbf9071af198a9b54d698eef9d6a1b77f857d73 /src/ui | |
| parent | Add 'Show handles' LPE (diff) | |
| download | inkscape-2a2db8af11c2e518bd7bfe520e2f88a7e439d939.tar.gz inkscape-2a2db8af11c2e518bd7bfe520e2f88a7e439d939.zip | |
Merge in font-speedup branch to improve launch times
(bzr r13341.1.140)
Diffstat (limited to 'src/ui')
| -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 c1ebb32e0..e44809c65 100644 --- a/src/ui/dialog/text-edit.cpp +++ b/src/ui/dialog/text-edit.cpp @@ -344,9 +344,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(); |
