This commit is contained in:
恍兮惚兮 2024-06-04 22:14:15 +08:00
parent a78ae9113b
commit 7a6a39e173
3 changed files with 1 additions and 8 deletions

View File

@ -714,7 +714,6 @@ class dialog_setting_game_internal(QWidget):
False,
False,
None,
True,
selectimg,
True,
),
@ -731,7 +730,6 @@ class dialog_setting_game_internal(QWidget):
True,
False,
None,
True,
selectimg2,
True,
),
@ -754,7 +752,6 @@ class dialog_setting_game_internal(QWidget):
False,
True,
None,
True,
lambda _: savehook_new_data[exepath].__setitem__(
"autosavesavedata", os.path.normpath(_)
),
@ -773,7 +770,6 @@ class dialog_setting_game_internal(QWidget):
False,
True,
None,
True,
lambda _: savehook_new_data[exepath].__setitem__(
"backupsavedatato", os.path.normpath(_)
),
@ -1067,7 +1063,6 @@ class dialog_setting_game_internal(QWidget):
False,
False,
filt,
True,
functools.partial(selectimg, exepath, key),
True,
),

View File

@ -269,7 +269,6 @@ class autoinitdialog(QDialog):
line.get("multi", False),
line["dir"],
line.get("filter", None),
False,
callback=functools.partial(__temp.__setitem__, "k"),
)

View File

@ -1111,7 +1111,6 @@ def getsimplepatheditor(
multi,
isdir,
filter1="*.*",
ro=True,
callback=None,
useiconbutton=False,
):
@ -1120,7 +1119,7 @@ def getsimplepatheditor(
director=(text[0] if len(text) else '') if multi else text
e = QLineEdit('|'.join(text) if multi else text)
e.setReadOnly(ro)
e.setReadOnly(True)
if useiconbutton:
bu = getcolorbutton("", "", None, icon="fa.gear", constcolor="#FF69B4")
else: