summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
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() {