Anonymous | Login | 01-17-2021 02:14 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||||||
0001149 | [tweak] Any | tweak | always | 05-11-05 01:02 | 05-11-05 03:31 | ||||||||
Reporter | starbow | View Status | public | ||||||||||
Assigned To | |||||||||||||
Priority | normal | Resolution | fixed | ||||||||||
Status | resolved | ||||||||||||
Summary | 0001149: CFileDialogSave>>acceptFile: returns nil. | ||||||||||||
Description |
result of acceptFile: is tested as a boolean in CFileDialog>>accept, and generates an error when the result is nil. Could be fixed like so: acceptFile: newName "Accept a new file or ask user if it is okay to overwrite" | result | fileList do:[:entry| entry name = newName ifTrue:[ result := CDialog confirm: newName printString,' already exists.\Do you want to overwrite it?' withCRs centerAt: self globalBounds center. result ifNil: [ result := false. ]. ^result. ]]. ^true |
||||||||||||
Additional Information | |||||||||||||
Attached Files | |||||||||||||
|
![]() |
|
(0001471 - 32 - 32 - 32 - 32 - 32 - 32) andreas 05-11-05 03:30 |
Now fixed. Thanks for reporting. |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
36 total queries executed. 30 unique queries executed. |