summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 10d8326)
raw | patch | inline | side by side (parent: 10d8326)
author | Josh Andler <scislac@gmail.com> | |
Wed, 11 Aug 2010 18:33:35 +0000 (11:33 -0700) | ||
committer | Josh Andler <scislac@gmail.com> | |
Wed, 11 Aug 2010 18:33:35 +0000 (11:33 -0700) |
src/ui/dialog/svg-fonts-dialog.cpp | patch | blob | history |
index 998f4e1e1b343a908197cb07a83989fa65da3201..d5886923147feeb2d4d5b332dc62cc68365bd2e5 100644 (file)
@@ -602,6 +602,7 @@ void SvgFontsDialog::glyph_unicode_edit(const Glib::ustring&, const Glib::ustrin
void SvgFontsDialog::remove_selected_font(){
SPFont* font = get_selected_spfont();
+ if (!font) return;
sp_repr_unparent(font->repr);
SPDocument* doc = sp_desktop_document(this->getDesktop());