mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-22 14:02:17 +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