Removed unused line in GUI Backup
File selection dialog in GUI backup was using an obsolete (and possibly never working as intented) setReadOnly method. Removed it, because it neither works nor is needed. fixes QubesOS/qubes-issues#5348
This commit is contained in:
parent
b51cd03481
commit
8a3653723d
@ -76,7 +76,6 @@ def select_path_button_clicked(dialog, select_file=False, read_only=False):
|
|||||||
try:
|
try:
|
||||||
if vm.name == socket.gethostname():
|
if vm.name == socket.gethostname():
|
||||||
file_dialog = QtWidgets.QFileDialog()
|
file_dialog = QtWidgets.QFileDialog()
|
||||||
file_dialog.setReadOnly(True)
|
|
||||||
|
|
||||||
if select_file:
|
if select_file:
|
||||||
file_dialog_function = file_dialog.getOpenFileName
|
file_dialog_function = file_dialog.getOpenFileName
|
||||||
|
Loading…
Reference in New Issue
Block a user