mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
ro
This commit is contained in:
parent
a78ae9113b
commit
7a6a39e173
@ -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,
|
||||
),
|
||||
|
@ -269,7 +269,6 @@ class autoinitdialog(QDialog):
|
||||
line.get("multi", False),
|
||||
line["dir"],
|
||||
line.get("filter", None),
|
||||
False,
|
||||
callback=functools.partial(__temp.__setitem__, "k"),
|
||||
)
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user