--- a/FileDialog.st Tue Mar 02 09:51:41 2004 +0100
+++ b/FileDialog.st Tue Mar 02 11:22:38 2004 +0100
@@ -1281,11 +1281,6 @@
treeBrowser multipleSelect:multipleSelect.
appendWasPressed := false.
- "No ok and cancel buttons, when dialog is part of a larger dialog"
- self window topView isModal ifFalse:[
- self hideButtonPanel
- ].
-
(aBuilder componentAt:'cancelButton') cursor:(Cursor thumbsDown).
(aBuilder componentAt:'appendButton') cursor:(Cursor thumbsUp).
(aBuilder componentAt:'okButton') cursor:(Cursor thumbsUp).
@@ -1297,6 +1292,11 @@
"/ self windowGroup addPreEventHook:self.
+ "No ok and cancel buttons, when dialog is part of a larger dialog"
+ self window topView isModal ifFalse:[
+ self hideButtonPanel
+ ].
+
treeBrowser currentFileNameHolder addDependent:self.
treeBrowser doubleClickAction:self doubleClickAction.
treeBrowser viewFilesInDirectoryTree addDependent:self.
@@ -1438,5 +1438,5 @@
!FileDialog class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libtool/FileDialog.st,v 1.53 2004-02-27 11:41:08 stefan Exp $'
+ ^ '$Header: /cvs/stx/stx/libtool/FileDialog.st,v 1.54 2004-03-02 10:22:38 cg Exp $'
! !