summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib-stdwin/dirwin.py3
-rwxr-xr-xLib/stdwin/dirwin.py3
2 files changed, 4 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/dirwin.py b/Lib/lib-stdwin/dirwin.py
index 5df85e7..0b3b5db 100644
--- a/Lib/lib-stdwin/dirwin.py
+++ b/Lib/lib-stdwin/dirwin.py
@@ -13,7 +13,8 @@ def action(w, string, i, detail):
if clicks = 2:
name = path.cat(w.name, string)
try:
- w = anywin.open(name)
+ w2 = anywin.open(name)
+ w2.parent = w
except posix.error, why:
stdwin.message('Can\'t open ' + name + ': ' + why[1])
diff --git a/Lib/stdwin/dirwin.py b/Lib/stdwin/dirwin.py
index 5df85e7..0b3b5db 100755
--- a/Lib/stdwin/dirwin.py
+++ b/Lib/stdwin/dirwin.py
@@ -13,7 +13,8 @@ def action(w, string, i, detail):
if clicks = 2:
name = path.cat(w.name, string)
try:
- w = anywin.open(name)
+ w2 = anywin.open(name)
+ w2.parent = w
except posix.error, why:
stdwin.message('Can\'t open ' + name + ': ' + why[1])