summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Dufour <nicoduf@yahoo.fr>2016-08-30 06:27:13 +0000
committerJazzyNico <nicoduf@yahoo.fr>2016-08-30 06:27:13 +0000
commit42914d527d007236fba7f2a27997d1c7c9dae432 (patch)
treee100fd5e231832b140434e8f0a9db3b3f9d043e5 /src
parentAdd phantom bpath to helper (diff)
downloadinkscape-42914d527d007236fba7f2a27997d1c7c9dae432.tar.gz
inkscape-42914d527d007236fba7f2a27997d1c7c9dae432.zip
[Bug #1447971] User palettes not available if all shared system palettes are deleted from installation.
Fixed bugs: - https://launchpad.net/bugs/1447971 (bzr r15093)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/swatches.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/swatches.cpp b/src/ui/dialog/swatches.cpp
index 3012c5c26..87bfa9252 100644
--- a/src/ui/dialog/swatches.cpp
+++ b/src/ui/dialog/swatches.cpp
@@ -598,7 +598,7 @@ SwatchesPanel::SwatchesPanel(gchar const* prefsPath) :
}
loadEmUp();
- if ( !systemSwatchPages.empty() ) {
+ if ( !systemSwatchPages.empty() || !userSwatchPages.empty()) {
SwatchPage* first = 0;
int index = 0;
Glib::ustring targetName;