mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
fix
This commit is contained in:
parent
e6fb16aebf
commit
407b59c1af
@ -794,8 +794,12 @@ class DynamicTreeModel(QStandardItemModel):
|
|||||||
self.setData(index, len(childs) > 0, DeterminedhasChildren)
|
self.setData(index, len(childs) > 0, DeterminedhasChildren)
|
||||||
thisitem = self.itemFromIndex(index)
|
thisitem = self.itemFromIndex(index)
|
||||||
maketuples = tuple((tuple(_) for _ in globalconfig["wordlabel"]))
|
maketuples = tuple((tuple(_) for _ in globalconfig["wordlabel"]))
|
||||||
|
dump = set()
|
||||||
for c in childs:
|
for c in childs:
|
||||||
if isinstance(c, str):
|
if isinstance(c, str):
|
||||||
|
if c in dump:
|
||||||
|
continue
|
||||||
|
dump.add(c)
|
||||||
t = c
|
t = c
|
||||||
has = False
|
has = False
|
||||||
else:
|
else:
|
||||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
|||||||
|
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
set(VERSION_MINOR 50)
|
set(VERSION_MINOR 50)
|
||||||
set(VERSION_PATCH 4)
|
set(VERSION_PATCH 5)
|
||||||
|
|
||||||
add_library(pch pch.cpp)
|
add_library(pch pch.cpp)
|
||||||
target_precompile_headers(pch PUBLIC pch.h)
|
target_precompile_headers(pch PUBLIC pch.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user