summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/layer-selector.cpp
diff options
context:
space:
mode:
authorJohn Smith <john.smith7545@yahoo.com>2012-09-27 04:01:53 +0000
committerJohn Smith <john.smith7545@yahoo.com>2012-09-27 04:01:53 +0000
commit16a46ff9523431ae539865ed71328650e64327f5 (patch)
treead986a13d1422a50aff911d0bdfa21123f313dac /src/ui/widget/layer-selector.cpp
parentFix for 169001 : Long layer names mess with the UI (diff)
downloadinkscape-16a46ff9523431ae539865ed71328650e64327f5.tar.gz
inkscape-16a46ff9523431ae539865ed71328650e64327f5.zip
Fix for 166691 : Changing layer order does not update layer selector
(bzr r11709)
Diffstat (limited to 'src/ui/widget/layer-selector.cpp')
-rw-r--r--src/ui/widget/layer-selector.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/widget/layer-selector.cpp b/src/ui/widget/layer-selector.cpp
index 4f8d921e6..c06f70185 100644
--- a/src/ui/widget/layer-selector.cpp
+++ b/src/ui/widget/layer-selector.cpp
@@ -240,7 +240,9 @@ private:
void LayerSelector::_layersChanged()
{
- //_selectLayer(_desktop->currentLayer());
+ if (_desktop) {
+ _selectLayer(_desktop->currentLayer());
+ }
}
/** Selects the given layer in the dropdown selector.