diff --git a/aqt/browser.py b/aqt/browser.py index 7f0a8058a..c5709ef61 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -735,6 +735,7 @@ by clicking on one on the left.""")) self.model.beginReset() if type in self.model.activeCols: if len(self.model.activeCols) < 2: + self.model.endReset() return showInfo(_("You must have at least one column.")) self.model.activeCols.remove(type) adding=False