diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-10-08 18:30:03 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-10-08 18:30:03 +0000 |
| commit | 0d65a6366721c314ca82e2600b7a2778e42bfdca (patch) | |
| tree | d432377950a04fddd169c0b5bb8517345f9cee3e /src/widgets/text-toolbar.cpp | |
| parent | Keep selection (diff) | |
| parent | merge trunk-refactoring (diff) | |
| download | inkscape-0d65a6366721c314ca82e2600b7a2778e42bfdca.tar.gz inkscape-0d65a6366721c314ca82e2600b7a2778e42bfdca.zip | |
Update to trunk
(bzr r15142.1.6)
Diffstat (limited to 'src/widgets/text-toolbar.cpp')
| -rw-r--r-- | src/widgets/text-toolbar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/text-toolbar.cpp b/src/widgets/text-toolbar.cpp index 4b22c8d7e..610d743a0 100644 --- a/src/widgets/text-toolbar.cpp +++ b/src/widgets/text-toolbar.cpp @@ -41,6 +41,7 @@ #include "ink-radio-action.h" #include "ink-toggle-action.h" #include "widgets/ink-comboboxentry-action.h" +#include "widgets/style-utils.h" #include "inkscape.h" #include "selection-chemistry.h" #include "sp-flowtext.h" @@ -304,7 +305,7 @@ static void sp_text_script_changed( InkToggleAction* act, GObject *tbl ) bool setSuper = false; bool setSub = false; - if(result_baseline == QUERY_STYLE_NOTHING || result_baseline == QUERY_STYLE_MULTIPLE_DIFFERENT ) { + if (Inkscape::is_query_style_updateable(result_baseline)) { // If not set or mixed, turn on superscript or subscript if( prop == 0 ) { setSuper = true; |
