summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2016-04-12 10:35:15 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2016-04-12 10:35:15 +0000
commita907096a990015010ec1171cd8997d33951f28a2 (patch)
treebcfab1e121f3ab398e6df384a205737500af0351 /src/selection-chemistry.cpp
parentAdd option for larger icons (useful for 4K display). (diff)
downloadinkscape-a907096a990015010ec1171cd8997d33951f28a2.tar.gz
inkscape-a907096a990015010ec1171cd8997d33951f28a2.zip
Hackfest 2016: un-obfuscate the SPCanvas widget.
(bzr r14790)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index e6d5f174e..e9a3af83a 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -1126,7 +1126,7 @@ void
sp_undo(SPDesktop *desktop, SPDocument *)
{
// No re/undo while dragging, too dangerous.
- if(desktop->getCanvas()->is_dragging) return;
+ if(desktop->getCanvas()->_is_dragging) return;
if (!DocumentUndo::undo(desktop->getDocument())) {
desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Nothing to undo."));
@@ -1137,7 +1137,7 @@ void
sp_redo(SPDesktop *desktop, SPDocument *)
{
// No re/undo while dragging, too dangerous.
- if(desktop->getCanvas()->is_dragging) return;
+ if(desktop->getCanvas()->_is_dragging) return;
if (!DocumentUndo::redo(desktop->getDocument())) {
desktop->messageStack()->flash(Inkscape::WARNING_MESSAGE, _("Nothing to redo."));