diff options
Diffstat (limited to 'kexi/plugins/macros/kexiactions/datatableaction.cpp')
-rw-r--r-- | kexi/plugins/macros/kexiactions/datatableaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/plugins/macros/kexiactions/datatableaction.cpp b/kexi/plugins/macros/kexiactions/datatableaction.cpp index fff0eaf5..d2eb1df1 100644 --- a/kexi/plugins/macros/kexiactions/datatableaction.cpp +++ b/kexi/plugins/macros/kexiactions/datatableaction.cpp @@ -93,7 +93,7 @@ namespace KexiMacro { //this->appendChild( KSharedPtr<KoMacro::Variable>(new KoMacro::Variable(name)) ); } const TQString n = - namelist.tqcontains(partitem) + namelist.contains(partitem) ? partitem : namelist.count() > 0 ? namelist[0] : ""; this->setVariant(n); |