diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-02-05 21:33:04 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-02-05 21:33:04 +0000 |
| commit | 26df462210964ca1eba0c9d25919270f700942a2 (patch) | |
| tree | ea578e3697d349765cfe01886e05160fe1c18324 /src/dialogs/xml-tree.cpp | |
| parent | remove unused layout copying, comment (diff) | |
| download | inkscape-26df462210964ca1eba0c9d25919270f700942a2.tar.gz inkscape-26df462210964ca1eba0c9d25919270f700942a2.zip | |
enable selecting tspans via xml editor
(bzr r82)
Diffstat (limited to 'src/dialogs/xml-tree.cpp')
| -rw-r--r-- | src/dialogs/xml-tree.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/dialogs/xml-tree.cpp b/src/dialogs/xml-tree.cpp index 079a09b5a..fe51f0144 100644 --- a/src/dialogs/xml-tree.cpp +++ b/src/dialogs/xml-tree.cpp @@ -807,15 +807,11 @@ void set_dt_select(Inkscape::XML::Node *repr) blocked++; if ( object && in_dt_coordsys(*object) - && !( SP_IS_TSPAN(object) || - SP_IS_STRING(object) || - SP_IS_ROOT(object) ) ) + && !(SP_IS_STRING(object) || + SP_IS_ROOT(object) ) ) { - /* We cannot set selection to tspan, string, or root; failures and - * crashes will occur. */ - /* TODO: when a tspan is highlighted, set selection to its parent - * text - */ + /* We cannot set selection to root or string - they are not items and selection is not + * equipped to deal with them */ selection->set(SP_ITEM(object)); } blocked--; |
