- Turkish language strings updated

- set some policy rules back the way they were for the combo boxes in Geometry Object properties
This commit is contained in:
Marius Stanciu
2020-11-05 20:17:02 +02:00
committed by Marius Stanciu
parent a6a7e5edcc
commit 1d88fd0d4c
5 changed files with 19 additions and 16 deletions

View File

@@ -203,7 +203,7 @@ class GeometryObject(FlatCAMObj, Geometry):
self.ui.geo_tools_table.setItem(row_idx, 1, dia_item) # Diameter
# -------------------- OFFSET ------------------------------------- #
offset_item = FCComboBox()
offset_item = FCComboBox(policy=False)
for item in self.offset_item_options:
offset_item.addItem(item)
idx = offset_item.findText(tooluid_value['offset'])
@@ -215,7 +215,7 @@ class GeometryObject(FlatCAMObj, Geometry):
self.ui.geo_tools_table.setCellWidget(row_idx, 2, offset_item)
# -------------------- TYPE ------------------------------------- #
type_item = FCComboBox()
type_item = FCComboBox(policy=False)
for item in self.type_item_options:
type_item.addItem(item)
idx = type_item.findText(tooluid_value['type'])
@@ -227,7 +227,7 @@ class GeometryObject(FlatCAMObj, Geometry):
self.ui.geo_tools_table.setCellWidget(row_idx, 3, type_item)
# -------------------- TOOL TYPE ------------------------------------- #
tool_type_item = FCComboBox()
tool_type_item = FCComboBox(policy=False)
for item in self.tool_type_item_options:
tool_type_item.addItem(item)
idx = tool_type_item.findText(tooluid_value['tool_type'])