[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread/dialogs
From:       Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date:       2008-11-09 22:16:26
Message-ID: 1226268986.219320.21720.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 882145 by mkruisselbrink:

react on currentRowChanged instead of selectionChanged, as the current row is what is \
actually used in the slot; this also fixes a small bug where the wrong function would \
be shown in some cases


 M  +1 -1      FormulaDialog.cpp  


--- trunk/koffice/kspread/dialogs/FormulaDialog.cpp #882144:882145
@@ -118,7 +118,7 @@
 
     QItemSelectionModel* selectionmodel = new QItemSelectionModel(proxyModel, this);
     functions->setSelectionModel(selectionmodel);
-    connect(selectionmodel, SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
+    connect(selectionmodel, SIGNAL(currentRowChanged(QModelIndex,QModelIndex)),
             this, SLOT(slotSelected()));
     //connect(proxyModel, SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, \
SLOT(slotDataChanged(QModelIndex,QModelIndex)));  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic