Unset the previous profile selection if we just removed it

This commit is contained in:
Chris Jones 2010-01-10 23:54:51 +00:00
parent e5d52fee52
commit 295aeed2e2
1 changed files with 1 additions and 1 deletions

View File

@ -598,9 +598,9 @@ class PrefsEditor:
# We shouldn't let people delete this profile
return
self.previous_selection = None
self.config.del_profile(profile)
model.remove(rowiter)
selection.select_iter(model.get_iter_first())
def on_use_custom_command_checkbutton_toggled(self, checkbox):