summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2017-02-24 19:28:15 +0000
committertavmjong-free <tavmjong@free.fr>2017-02-24 19:28:15 +0000
commita1aa673e3091919ff853ad755d07b0fa73f40233 (patch)
tree933a3ac8405b6f7f873448d9706b7b1d4039b95d /src/widgets
parentDisplay both style sheet and style attribute property values in CSS pane. (diff)
downloadinkscape-a1aa673e3091919ff853ad755d07b0fa73f40233.tar.gz
inkscape-a1aa673e3091919ff853ad755d07b0fa73f40233.zip
Don't block data entry into the text-tool font-size entry widget after an empty entry.
(bzr r15546)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/text-toolbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/text-toolbar.cpp b/src/widgets/text-toolbar.cpp
index 37497ac01..efa5527e4 100644
--- a/src/widgets/text-toolbar.cpp
+++ b/src/widgets/text-toolbar.cpp
@@ -205,6 +205,7 @@ static void sp_text_fontsize_value_changed( Ink_ComboBoxEntry_Action *act, GObje
if (endptr == text) { // Conversion failed, non-numeric input.
g_warning( "Conversion of size text to double failed, input: %s\n", text );
g_free( text );
+ g_object_set_data( tbl, "freeze", GINT_TO_POINTER(FALSE) );
return;
}
g_free( text );