mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
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:
parent
d8a518ae50
commit
a5fc97d5b0
2 changed files with 3 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ uses
|
|||
CodeEditor;
|
||||
|
||||
file
|
||||
LayDes.h options PCH,
|
||||
LayDes.h options(BUILDER_OPTION) PCH,
|
||||
laydes.key,
|
||||
sdiff.cpp,
|
||||
laylib.cpp,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue