summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-09-30 09:38:37 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-09-30 09:38:37 +0000
commitacf5c7612afc02aee6ddf079d2ea77e13bb82e1b (patch)
tree8af7a0de9007c10f5e3a8d00676b162e35a74929 /src/sp-text.cpp
parentupdate to trunk (diff)
parentReduce tools-switcher code, add description for node and select toos. (diff)
downloadinkscape-acf5c7612afc02aee6ddf079d2ea77e13bb82e1b.tar.gz
inkscape-acf5c7612afc02aee6ddf079d2ea77e13bb82e1b.zip
Update to trunk
(bzr r11950.1.156)
Diffstat (limited to 'src/sp-text.cpp')
-rw-r--r--src/sp-text.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp
index 72a5996d1..c515828a4 100644
--- a/src/sp-text.cpp
+++ b/src/sp-text.cpp
@@ -318,7 +318,12 @@ Inkscape::DrawingItem* SPText::show(Inkscape::Drawing &drawing, unsigned key, un
void SPText::hide(unsigned int key) {
-// SPItem::onHide(key);
+ for (SPItemView* v = this->display; v != NULL; v = v->next) {
+ if (v->key == key) {
+ Inkscape::DrawingGroup *g = dynamic_cast<Inkscape::DrawingGroup *>(v->arenaitem);
+ this->_clearFlow(g);
+ }
+ }
}
const char* SPText::displayName() {