mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24: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,
|
||||||
False,
|
False,
|
||||||
None,
|
None,
|
||||||
True,
|
|
||||||
selectimg,
|
selectimg,
|
||||||
True,
|
True,
|
||||||
),
|
),
|
||||||
@ -731,7 +730,6 @@ class dialog_setting_game_internal(QWidget):
|
|||||||
True,
|
True,
|
||||||
False,
|
False,
|
||||||
None,
|
None,
|
||||||
True,
|
|
||||||
selectimg2,
|
selectimg2,
|
||||||
True,
|
True,
|
||||||
),
|
),
|
||||||
@ -754,7 +752,6 @@ class dialog_setting_game_internal(QWidget):
|
|||||||
False,
|
False,
|
||||||
True,
|
True,
|
||||||
None,
|
None,
|
||||||
True,
|
|
||||||
lambda _: savehook_new_data[exepath].__setitem__(
|
lambda _: savehook_new_data[exepath].__setitem__(
|
||||||
"autosavesavedata", os.path.normpath(_)
|
"autosavesavedata", os.path.normpath(_)
|
||||||
),
|
),
|
||||||
@ -773,7 +770,6 @@ class dialog_setting_game_internal(QWidget):
|
|||||||
False,
|
False,
|
||||||
True,
|
True,
|
||||||
None,
|
None,
|
||||||
True,
|
|
||||||
lambda _: savehook_new_data[exepath].__setitem__(
|
lambda _: savehook_new_data[exepath].__setitem__(
|
||||||
"backupsavedatato", os.path.normpath(_)
|
"backupsavedatato", os.path.normpath(_)
|
||||||
),
|
),
|
||||||
@ -1067,7 +1063,6 @@ class dialog_setting_game_internal(QWidget):
|
|||||||
False,
|
False,
|
||||||
False,
|
False,
|
||||||
filt,
|
filt,
|
||||||
True,
|
|
||||||
functools.partial(selectimg, exepath, key),
|
functools.partial(selectimg, exepath, key),
|
||||||
True,
|
True,
|
||||||
),
|
),
|
||||||
|
@ -269,7 +269,6 @@ class autoinitdialog(QDialog):
|
|||||||
line.get("multi", False),
|
line.get("multi", False),
|
||||||
line["dir"],
|
line["dir"],
|
||||||
line.get("filter", None),
|
line.get("filter", None),
|
||||||
False,
|
|
||||||
callback=functools.partial(__temp.__setitem__, "k"),
|
callback=functools.partial(__temp.__setitem__, "k"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1111,7 +1111,6 @@ def getsimplepatheditor(
|
|||||||
multi,
|
multi,
|
||||||
isdir,
|
isdir,
|
||||||
filter1="*.*",
|
filter1="*.*",
|
||||||
ro=True,
|
|
||||||
callback=None,
|
callback=None,
|
||||||
useiconbutton=False,
|
useiconbutton=False,
|
||||||
):
|
):
|
||||||
@ -1120,7 +1119,7 @@ def getsimplepatheditor(
|
|||||||
|
|
||||||
director=(text[0] if len(text) else '') if multi else text
|
director=(text[0] if len(text) else '') if multi else text
|
||||||
e = QLineEdit('|'.join(text) if multi else text)
|
e = QLineEdit('|'.join(text) if multi else text)
|
||||||
e.setReadOnly(ro)
|
e.setReadOnly(True)
|
||||||
if useiconbutton:
|
if useiconbutton:
|
||||||
bu = getcolorbutton("", "", None, icon="fa.gear", constcolor="#FF69B4")
|
bu = getcolorbutton("", "", None, icon="fa.gear", constcolor="#FF69B4")
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user