4591: Do not allow less than a single column in the Gramplet view
svn: r16546
This commit is contained in:
parent
b5cd86498b
commit
bced98bd71
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user