mirror of
https://github.com/topjohnwu/selinux.git
synced 2024-11-23 19:49:39 +00:00
gui/fcontextPage: Set default object class in addDialog
This ensures that user cannot leave the object class selection blank. Signed-off-by: Vit Mojzis <vmojzis@redhat.com>
This commit is contained in:
parent
6f4b1bbdea
commit
3217d717c8
@ -164,6 +164,7 @@ class fcontextPage(semanagePage):
|
||||
self.fcontextEntry.set_text("")
|
||||
self.fcontextEntry.set_sensitive(True)
|
||||
self.fcontextFileTypeCombo.set_sensitive(True)
|
||||
self.fcontextFileTypeCombo.set_active(0)
|
||||
self.fcontextTypeEntry.set_text("")
|
||||
self.fcontextMLSEntry.set_text("s0")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user