Merge branch 'master' of https://github.com/KLayout/klayout into drc-enhancements

This commit is contained in:
Matthias Koefferlein
2020-09-19 21:10:32 +02:00
3 changed files with 37 additions and 10 deletions
+10 -8
View File
@@ -679,9 +679,16 @@ class QtBinding_TestClass < TestBase
w = RBA::QObject::new
on = nil
w.objectNameChanged do |name|
on = name
if w.respond_to?(:objectNameChanged) # Qt5
on = nil
w.objectNameChanged do |name|
on = name
end
w.objectName = "uvw"
assert_equal(on, "uvw")
end
od = false
@@ -689,12 +696,7 @@ class QtBinding_TestClass < TestBase
od = true
end
w.objectName = "uvw"
assert_equal(on, "uvw")
w._destroy
assert_equal(od, true)
end