4.9.4 broke DzListView clicked
RiverSoft Art
Posts: 6,575
Hi, I have a script I am writing where I was hooking into the clicked event of the DzListView:
wListView=new DzListView(dlg);
wListView.clicked().connect(function(){ dlg.setApplyButtonEnabled(actionContext.areChanges(wListView)); });
With the v4.9.4 release, it fails now and gives the error:
2017-06-13 03:45:10.654 WARNING: SyntaxError: too few arguments in call to clicked(); candidates are
clicked(DzListViewItem*,QPoint,int)
clicked(DzListViewItem*)
No matter what I try, I cannot get the thing to work now. What is the correct syntax?
Comments
You can try signals for your actions :
"doubleClicked(DzListViewItem*,const QPoint&,int)"
"rightButtonClicked(DzListViewItem*,const QPoint&,int)"
Thanks for the help. I decided to just get rid of DzListView.