From 5619197ebabd53a4959cd10db9c649ccd3cab54f Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 3 Jan 2020 10:17:48 +0000 Subject: [PATCH] .upptst git-svn-id: svn://ultimatepp.org/upp/trunk@13810 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- upptst/TestChStyle/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/upptst/TestChStyle/main.cpp b/upptst/TestChStyle/main.cpp index 6e3855335..fd9666a45 100644 --- a/upptst/TestChStyle/main.cpp +++ b/upptst/TestChStyle/main.cpp @@ -31,7 +31,11 @@ TestChStyle::TestChStyle() }); AddFrame(bar); - bar.Set([](Bar& bar) { bar.Add(CtrlImg::Diskette(), [] {}).Tip("This is test"); }); + bar.Set([](Bar& bar) { bar.Add(CtrlImg::Diskette(), [] { + FileSelector fs; + fs.AllFilesType(); + fs.ExecuteOpen(); + }).Tip("This is test"); }); CtrlLayoutOKCancel(*this, "Window title");