diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2015-12-06 12:53:50 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2015-12-06 12:53:50 +0000 |
| commit | 049a747614778df4ee75bd07b71a8afe1688425f (patch) | |
| tree | 85fda527d6881a2f6cb27d33300537606cc37c3c /src/ui/tools/tool-base.cpp | |
| parent | cppification: GSList replaced by vectors (mostly related to guides and grids) (diff) | |
| download | inkscape-049a747614778df4ee75bd07b71a8afe1688425f.tar.gz inkscape-049a747614778df4ee75bd07b71a8afe1688425f.zip | |
cppification: GSList replaced by vectors (mostly related to gradients and meshes)
(bzr r14504.1.2)
Diffstat (limited to 'src/ui/tools/tool-base.cpp')
| -rw-r--r-- | src/ui/tools/tool-base.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/tools/tool-base.cpp b/src/ui/tools/tool-base.cpp index bf7b61b61..abac2c091 100644 --- a/src/ui/tools/tool-base.cpp +++ b/src/ui/tools/tool-base.cpp @@ -924,7 +924,7 @@ void ToolBase::enableGrDrag(bool enable) { */ bool ToolBase::deleteSelectedDrag(bool just_one) { - if (_grdrag && _grdrag->selected) { + if (_grdrag && !_grdrag->selected.empty()) { _grdrag->deleteSelected(just_one); return TRUE; } |
