summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/svg-fonts-dialog.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2016-08-15 20:55:21 +0000
committertavmjong-free <tavmjong@free.fr>2016-08-15 20:55:21 +0000
commit7f779f28e67eac1653e0f7751bb3f224b67894c7 (patch)
treeed872536d8fe377caf2ba22181f8dbfc6a82cf35 /src/ui/dialog/svg-fonts-dialog.cpp
parentFix bug reported in http://www.viva64.com/en/b/0419/ (diff)
downloadinkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.tar.gz
inkscape-7f779f28e67eac1653e0f7751bb3f224b67894c7.zip
Fix a bunch of errors as reported at http://www.viva64.com/en/b/0419/
(bzr r15059)
Diffstat (limited to 'src/ui/dialog/svg-fonts-dialog.cpp')
-rw-r--r--src/ui/dialog/svg-fonts-dialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/dialog/svg-fonts-dialog.cpp b/src/ui/dialog/svg-fonts-dialog.cpp
index 6a87f3714..0203d9778 100644
--- a/src/ui/dialog/svg-fonts-dialog.cpp
+++ b/src/ui/dialog/svg-fonts-dialog.cpp
@@ -162,10 +162,8 @@ GlyphComboBox::GlyphComboBox(){
}
void GlyphComboBox::update(SPFont* spfont){
- if (!spfont) return
-//TODO: figure out why do we need to append("") before clearing items properly...
+ if (!spfont) return;
- this->append(""); //Gtk is refusing to clear the combobox when I comment out this line
this->remove_all();
for (auto& node: spfont->children) {