diff --git a/src/gui/widgets/grampletpane.py b/src/gui/widgets/grampletpane.py index f2f0172a0..a6830afc3 100644 --- a/src/gui/widgets/grampletpane.py +++ b/src/gui/widgets/grampletpane.py @@ -1102,6 +1102,8 @@ class GrampletPane(gtk.ScrolledWindow): return True def set_columns(self, num): + if num < 1: + num = 1 # clear the gramplets: self.clear_gramplets() # clear the columns: