summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/swatches.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/swatches.cpp b/src/ui/dialog/swatches.cpp
index 91d859f90..ceda27885 100644
--- a/src/ui/dialog/swatches.cpp
+++ b/src/ui/dialog/swatches.cpp
@@ -1448,9 +1448,11 @@ void SwatchesPanel::_defsChanged()
}
}
}
-
+ //_scroller.resize(1,1);
+ _insideTable.resize(1,1);
_scroller.show_all_children();
_scroller.queue_draw();
+
}
Gtk::MenuItem* SwatchesPanel::_addSwatchGroup(SPGroup* group, Gtk::TreeModel::Row* parentRow)
@@ -2258,6 +2260,7 @@ SwatchesPanel::SwatchesPanel(gchar const* prefsPath, bool showLabels) :
rootWatcher = new SwatchWatcher(this, SwatchDocument->getDefs(), true);
SwatchDocument->getDefs()->getRepr()->addObserver(*rootWatcher);
_swatchesChanged();
+ _insideTable.resize(1,1);
}
SwatchesPanel::~SwatchesPanel()