Skip to content

Commit

Permalink
Remove sub window testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisteach committed Apr 13, 2017
1 parent fbb902e commit 572cb3f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/widget_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1497,17 +1497,17 @@ def stopper(btn=None):
return True

# modal stops the popup from closing....
app.startSubWindow("sb2", modal=True, transient=True, blocking=False, grouped=True)
app.addLabel("sb2_l", TEXT_ONE)
app.setStopFunction(stopper)
app.stopSubWindow()

def stopSubWindow(btn=None):
app.hideSubWindow("sb2")

app.registerEvent(stopSubWindow)
app.showSubWindow("sb2")
app.hideSubWindow("sb2")
# app.startSubWindow("sb2", modal=True, transient=True, blocking=False, grouped=True)
# app.addLabel("sb2_l", TEXT_ONE)
# app.setStopFunction(stopper)
# app.stopSubWindow()
#
# def stopSubWindow(btn=None):
# app.hideSubWindow("sb2")
#
# app.registerEvent(stopSubWindow)
# app.showSubWindow("sb2")
# app.hideSubWindow("sb2")

# causes problems - children still in config dicitonaries...
# setLang, etc will try to modify them
Expand Down

0 comments on commit 572cb3f

Please sign in to comment.