diff options
author | Soumith Chintala <soumith@gmail.com> | 2015-11-27 11:27:50 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2015-11-27 11:27:50 +0300 |
commit | 26ea835c26fd0ad1683327e074f996c5670ea16d (patch) | |
tree | 752a57adddad2812323e6d34528bc945927f1743 | |
parent | 0e43c1e96bd3c8cf10158c9bcc32f21775bb7276 (diff) | |
parent | 003380cd07c818088c78fefd3ee71e323203094e (diff) |
Merge pull request #131 from initialneil/master
check given window visible
-rw-r--r-- | init.lua | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1385,6 +1385,10 @@ local function display(...) else w = w or qtwidget.newwindow(x,y,legend) end + if w.window and not w.window.visible then + -- make sure window is visible + w.window.visible = true + end if w.isclosure then -- window was created with gui, just update closure local closure = w |