Unset the previous profile selection if we just removed it
This commit is contained in:
parent
e5d52fee52
commit
295aeed2e2
|
@ -598,9 +598,9 @@ class PrefsEditor:
|
||||||
# We shouldn't let people delete this profile
|
# We shouldn't let people delete this profile
|
||||||
return
|
return
|
||||||
|
|
||||||
|
self.previous_selection = None
|
||||||
self.config.del_profile(profile)
|
self.config.del_profile(profile)
|
||||||
model.remove(rowiter)
|
model.remove(rowiter)
|
||||||
|
|
||||||
selection.select_iter(model.get_iter_first())
|
selection.select_iter(model.get_iter_first())
|
||||||
|
|
||||||
def on_use_custom_command_checkbutton_toggled(self, checkbox):
|
def on_use_custom_command_checkbutton_toggled(self, checkbox):
|
||||||
|
|
Loading…
Reference in New Issue