diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2016-04-12 10:35:15 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2016-04-12 10:35:15 +0000 |
| commit | a907096a990015010ec1171cd8997d33951f28a2 (patch) | |
| tree | bcfab1e121f3ab398e6df384a205737500af0351 /src/selection-chemistry.cpp | |
| parent | Add option for larger icons (useful for 4K display). (diff) | |
| download | inkscape-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.cpp | 4 |
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.")); |
