diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-02-09 02:20:18 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-02-09 02:20:18 +0000 |
| commit | 81f88ca0856da56bdf426cd065ff0acd3414567f (patch) | |
| tree | c909cc475397273059093d0fc8157f26b83350c1 /src/selection-chemistry.cpp | |
| parent | Translations. German translation update by uwesch. (diff) | |
| download | inkscape-81f88ca0856da56bdf426cd065ff0acd3414567f.tar.gz inkscape-81f88ca0856da56bdf426cd065ff0acd3414567f.zip | |
Fix multiple minor problems in the node tool
(bzr r9070)
Diffstat (limited to 'src/selection-chemistry.cpp')
| -rw-r--r-- | src/selection-chemistry.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp index a5c6ae961..4dfb4597d 100644 --- a/src/selection-chemistry.cpp +++ b/src/selection-chemistry.cpp @@ -118,10 +118,12 @@ void SelectionHelper::selectAll(SPDesktop *dt) { if (tools_isactive(dt, TOOLS_NODES)) { InkNodeTool *nt = static_cast<InkNodeTool*>(dt->event_context); - nt->_multipath->selectSubpaths(); - } else { - sp_edit_select_all(dt); + if (!nt->_multipath->empty()) { + nt->_multipath->selectSubpaths(); + return; + } } + sp_edit_select_all(dt); } void SelectionHelper::selectAllInAll(SPDesktop *dt) |
