Fwd: extragear/graphics/digikam/digikam

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Fwd: extragear/graphics/digikam/digikam

Bugzilla from andi.clemens@gmx.net
Yes, this is fixed indeed for me.

But a new problem is visible now (not related to this fix):
StatusLED is not working at all, it is always red now.

Andi


SVN commit 977534 by mwiesweg:

Not only select, but set current index as well.
For me it fixes the problem that initially the right arrow need to be pressed twice.

 M  +4 -0      imagecategorizedview.cpp  


--- trunk/extragear/graphics/digikam/digikam/imagecategorizedview.cpp #977533:977534
@@ -583,6 +583,7 @@
         if (index.isValid())
         {
             selectionModel()->select(index, QItemSelectionModel::SelectCurrent | QItemSelectionModel::Clear);
+            setCurrentIndex(index);
             // we want ensureInitial set to false if and only if the selection
             // is done from any other place than the previous line (i.e., by user action)
             // Effect: we select whatever is the current index(0,0)
@@ -600,7 +601,10 @@
             if (!index.isValid())
                 index = model()->index(0,0);
             if (index.isValid())
+            {
                 selectionModel()->select(index, QItemSelectionModel::SelectCurrent);
+                setCurrentIndex(index);
+            }
         }
     }
 }

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Fwd: extragear/graphics/digikam/digikam

Bugzilla from andi.clemens@gmx.net
Ok, fixed already ;-)

Andi

On Thursday 04 June 2009 17:44:44 Andi Clemens wrote:
> Yes, this is fixed indeed for me.
>
> But a new problem is visible now (not related to this fix):
> StatusLED is not working at all, it is always red now.
>
> Andi

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel