diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-14 18:16:30 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-06-14 18:16:30 +0000 |
| commit | 3a70f80a739cb2dc9e9ed5b00c2ea10454e94c05 (patch) | |
| tree | e7d7a510dd21581b047d40235327295737c1b0bc /src/ui/dialog/text-edit.cpp | |
| parent | Merge branch 'fontmarkup' of gitlab.com:darktrojan/inkscape (diff) | |
| parent | In font list, don't change selection if current font is already selected; oth... (diff) | |
| download | inkscape-3a70f80a739cb2dc9e9ed5b00c2ea10454e94c05.tar.gz inkscape-3a70f80a739cb2dc9e9ed5b00c2ea10454e94c05.zip | |
Merge branch 'fontselection' of gitlab.com:darktrojan/inkscape
Diffstat (limited to 'src/ui/dialog/text-edit.cpp')
| -rw-r--r-- | src/ui/dialog/text-edit.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ui/dialog/text-edit.cpp b/src/ui/dialog/text-edit.cpp index fca65a1ba..5cb0993c6 100644 --- a/src/ui/dialog/text-edit.cpp +++ b/src/ui/dialog/text-edit.cpp @@ -74,12 +74,12 @@ TextEdit::TextEdit() selectChangedConn(), subselChangedConn(), selectModifiedConn(), + blocked(false), /* TRANSLATORS: Test string used in text and font dialog (when no * text has been entered) to get a preview of the font. Choose * some representative characters that users of your locale will be * interested in.*/ - blocked(false), samplephrase(_("AaBbCcIiPpQq12369$\342\202\254\302\242?.;/()")) { @@ -458,6 +458,10 @@ void TextEdit::onApply() apply_button.set_sensitive ( false ); sp_repr_css_attr_unref (css); + + Inkscape::FontLister* font_lister = Inkscape::FontLister::get_instance(); + font_lister->update_font_list(SP_ACTIVE_DESKTOP->getDocument()); + blocked = false; } |
