7361: Keep at least one column on views
This commit is contained in:
parent
aa9deb6a3d
commit
c4186b916a
@ -183,7 +183,7 @@ class ColumnOrder(gtk.VBox):
|
|||||||
self.config.set('columns.size', newsize)
|
self.config.set('columns.size', newsize)
|
||||||
self.config.set('columns.visible', newvis)
|
self.config.set('columns.visible', newvis)
|
||||||
self.config.save()
|
self.config.save()
|
||||||
if self.on_apply:
|
if len(newvis) > 0 and self.on_apply:
|
||||||
self.on_apply()
|
self.on_apply()
|
||||||
|
|
||||||
def toggled(cell, path, model):
|
def toggled(cell, path, model):
|
||||||
|
Loading…
Reference in New Issue
Block a user