ide: Laydes generator: name can now be function name #1075

git-svn-id: svn://ultimatepp.org/upp/trunk@8484 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-05-29 09:32:39 +00:00
parent d8a518ae50
commit a5fc97d5b0
2 changed files with 3 additions and 1 deletions

View file

@ -8,7 +8,7 @@ uses
CodeEditor;
file
LayDes.h options PCH,
LayDes.h options(BUILDER_OPTION) PCH,
laydes.key,
sdiff.cpp,
laylib.cpp,

View file

@ -118,6 +118,8 @@ void VisGenDlg::Refresh()
for(int i = 0; i < sel.GetCount(); i++) {
String id = layout.item[sel[i]].variable;
if(!IsNull(id)) {
if(pars && !(name1 || name2))
s << ~name;
if(pars)
s << '(';
String ss;