diff options
| author | Nicolas Dufour <nicoduf@yahoo.fr> | 2011-04-21 18:04:14 +0000 |
|---|---|---|
| committer | JazzyNico <nicoduf@yahoo.fr> | 2011-04-21 18:04:14 +0000 |
| commit | 51b899c859afdc3b0d7743e20b558bfc0e54c340 (patch) | |
| tree | a0edcdeeadc923347c3f56cc3385447243e95dd4 /src | |
| parent | Translations. Invalid markup in the scour extension. (diff) | |
| download | inkscape-51b899c859afdc3b0d7743e20b558bfc0e54c340.tar.gz inkscape-51b899c859afdc3b0d7743e20b558bfc0e54c340.zip | |
Font Editor. Fix for Bug #706506 (Crash when kerning an empty pair).
Fixed bugs:
- https://launchpad.net/bugs/706506
(bzr r10189)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/svg-fonts-dialog.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/svg-fonts-dialog.cpp b/src/ui/dialog/svg-fonts-dialog.cpp index d836bfa22..667d01de7 100644 --- a/src/ui/dialog/svg-fonts-dialog.cpp +++ b/src/ui/dialog/svg-fonts-dialog.cpp @@ -162,7 +162,10 @@ void GlyphComboBox::update(SPFont* spfont){ } void SvgFontsDialog::on_kerning_value_changed(){ - if (!this->kerning_pair) return; + if (!get_selected_kerning_pair()) { + return; + } + SPDocument* document = sp_desktop_document(this->getDesktop()); //TODO: I am unsure whether this is the correct way of calling SPDocumentUndo::maybe_done |
