Added LayoutView#layer_list_name as read access for LayoutView#rename_layer_list

This commit is contained in:
Matthias Koefferlein
2025-09-04 19:59:57 +02:00
parent 128f92c427
commit e6692a2fd0
2 changed files with 11 additions and 8 deletions
+2
View File
@@ -234,6 +234,8 @@ class LAYLayers_TestClass < TestBase
cv.insert_layer_list(1)
cv.rename_layer_list(1, "x")
assert_equal(cv.layer_list_name(1), "x")
assert_equal(cv.layer_list_name(10000), "") # must not crash
assert_equal(cv.current_layer_list, 1)
cv.set_current_layer_list(0)
assert_equal(cv.current_layer_list, 0)