From 7914500c96ebe2106716a001ca2b93594d3c07a5 Mon Sep 17 00:00:00 2001 From: deva Date: Thu, 19 Aug 2010 09:04:47 +0000 Subject: Fixed problems with eventOnChange. --- client/widgets/multilist.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/widgets/multilist.cc') diff --git a/client/widgets/multilist.cc b/client/widgets/multilist.cc index 92cdf29..c4ebd60 100644 --- a/client/widgets/multilist.cc +++ b/client/widgets/multilist.cc @@ -188,7 +188,7 @@ void MultiList::setValue(QString values, QString source) idx++; } while(value != ""); - eventOnChange(); + emit eventOnChange(); } void MultiList::remove() @@ -197,8 +197,8 @@ void MultiList::remove() if(item && item->isSelected()) { delete item; + emit eventOnChange(); emit wasChanged(); - eventOnChange(); } } @@ -211,7 +211,7 @@ void MultiList::add() innerwidget->setValues(); innerwidget_has_changes = false; - eventOnChange(); + emit eventOnChange(); } } -- cgit v1.2.3