Mercurial > octave
diff libinterp/corefcn/graphics.in.h @ 19087:3e0720bd6bfc
Fix setting axes default x/y/zlabel with string values (bug #34755)
* /libinterp/corefcn/graphics.cc (base_properties::set_from_list): when setting a string value, don't delete/recreate the text object, simply set its string property.
* /libinterp/corefcn/graphics.in.h (axes::axes): update_transform before setting default properties.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Sun, 07 Sep 2014 22:26:12 +0200 |
parents | dc88c5784f74 |
children | 68db8396c378 |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h Sun Sep 07 10:47:20 2014 +0200 +++ b/libinterp/corefcn/graphics.in.h Sun Sep 07 22:26:12 2014 +0200 @@ -4220,8 +4220,8 @@ axes (const graphics_handle& mh, const graphics_handle& p) : base_graphics_object (), xproperties (mh, p), default_properties () { + xproperties.update_transform (); xproperties.override_defaults (*this); - xproperties.update_transform (); } ~axes (void) { }