summaryrefslogtreecommitdiffstats
path: root/src/sp-guide.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-guide.cpp')
-rw-r--r--src/sp-guide.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-guide.cpp b/src/sp-guide.cpp
index a57947e01..d1e101fd5 100644
--- a/src/sp-guide.cpp
+++ b/src/sp-guide.cpp
@@ -289,7 +289,7 @@ void SPGuide::showSPGuide()
for(std::vector<SPGuideLine *>::const_iterator it = this->views.begin(); it != this->views.end(); ++it) {
sp_canvas_item_show(SP_CANVAS_ITEM(*it));
if((*it)->origin) {
- (*it)->origin->show();
+ sp_canvas_item_show(SP_CANVAS_ITEM((*it)->origin));
} else {
//reposition to same place to show knots
sp_guideline_set_position(*it, point_on_line);
@@ -317,7 +317,7 @@ void SPGuide::hideSPGuide()
for(std::vector<SPGuideLine *>::const_iterator it = this->views.begin(); it != this->views.end(); ++it) {
sp_canvas_item_hide(SP_CANVAS_ITEM(*it));
if ((*it)->origin) {
- (*it)->origin->hide();
+ sp_canvas_item_hide(SP_CANVAS_ITEM((*it)->origin));
}
}
}