mirror of
https://github.com/SELinuxProject/selinux
synced 2025-04-18 13:25:26 +00:00
gui: Fix export file chooser dialog
It wasn't possible to choose a directory in filechooser dialog using double-click - the dialog returned the directory name instead of listing the directory. Fixes: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/sepolicy/gui.py", line 2593, in on_browse_select self.export_config(filename) File "/usr/lib/python3.10/site-packages/sepolicy/gui.py", line 2668, in export_config fd = open(filename, 'w') IsADirectoryError: [Errno 21] Is a directory: '/root/Downloads' Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
This commit is contained in:
parent
e004946447
commit
bba6225abc
@ -168,7 +168,6 @@
|
||||
<object class="GtkBox" id="filechooserdialog-vbox1">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<signal name="button-press-event" handler="on_choose_file" swapped="no"/>
|
||||
<child internal-child="action_area">
|
||||
<object class="GtkButtonBox" id="filechooserdialog-action_area1">
|
||||
<property name="can_focus">False</property>
|
||||
|
Loading…
Reference in New Issue
Block a user