.reference

git-svn-id: svn://ultimatepp.org/upp/trunk@9927 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-06-12 06:20:42 +00:00
parent 5f65ade1f1
commit 9cd1cec4fa

View file

@ -31,13 +31,13 @@ AnimatedClip::AnimatedClip() {
void AnimatedClip::Browse() {
FileSel fs;
fs.PreSelect(fileName);
fs.PreSelect(~fileName);
fs.Type("Animation type", "*.gif, *.tif, *.tiff");
if (fs.ExecuteOpen("Choose animation file"))
fileName <<= ~fs;
if (!clip.Load(fileName)) {
if (!clip.Load(~fileName)) {
Exclamation("Invalid input");
return;
}