in reply to [Solved:]Tk getOpenFile doubleClick problem
Update 2 Yeah , removing the recurse=>1 from the busy seems to do it.
sub select_file { #...; #$mw->Busy(-recurse => 1); #don't recurse here $mw->Busy(); my $file = $mw->getOpenFile( -title => 'select file', ); $file = File::Spec->canonpath( $file ); $mw->Unbusy(-recurse => 1); return $file; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tk getOpenFile doubleClick problem
by wwe (Friar) on Sep 13, 2011 at 15:55 UTC |