diff --git a/src/gui/widgets/grampletpane.py b/src/gui/widgets/grampletpane.py index cab363a14..2f03a8743 100644 --- a/src/gui/widgets/grampletpane.py +++ b/src/gui/widgets/grampletpane.py @@ -1227,6 +1227,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: