From 42914d527d007236fba7f2a27997d1c7c9dae432 Mon Sep 17 00:00:00 2001 From: Nicolas Dufour Date: Tue, 30 Aug 2016 08:27:13 +0200 Subject: [Bug #1447971] User palettes not available if all shared system palettes are deleted from installation. Fixed bugs: - https://launchpad.net/bugs/1447971 (bzr r15093) --- src/ui/dialog/swatches.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3