diff --git a/app/pdb/text-layer-cmds.c b/app/pdb/text-layer-cmds.c index 6e58529f7f..3a296f63c1 100644 --- a/app/pdb/text-layer-cmds.c +++ b/app/pdb/text-layer-cmds.c @@ -1039,7 +1039,7 @@ register_text_layer_procs (GimpPDB *pdb) gimp_param_spec_unit ("unit", "unit", "The units of specified size", - FALSE, + TRUE, FALSE, gimp_unit_inch (), GIMP_PARAM_READWRITE)); diff --git a/pdb/groups/text_layer.pdb b/pdb/groups/text_layer.pdb index e030efdd4c..5394a7309f 100644 --- a/pdb/groups/text_layer.pdb +++ b/pdb/groups/text_layer.pdb @@ -42,7 +42,7 @@ HELP desc => 'The font to write the text with' }, { name => 'size', type => '0.0 <= float <= 8192.0', desc => 'The size of text in either pixels or points' }, - { name => 'unit', type => 'unit', + { name => 'unit', type => 'unit', allow_pixel => 1, desc => 'The units of specified size' } );