Skip to content
Snippets Groups Projects
Commit a35865d2 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

BUG: fix regression introduced by 38ba398b

parent 288795bd
No related branches found
No related tags found
No related merge requests found
...@@ -253,7 +253,7 @@ StackedLayerModel ...@@ -253,7 +253,7 @@ StackedLayerModel
? m_Current ? m_Current
: ( m_Current>0 : ( m_Current>0
? m_Current - 1 ? m_Current - 1
: GetCount()>0 ? 0 : StackedLayerModel::NIL_INDEX ); : GetCount()>1 ? 0 : StackedLayerModel::NIL_INDEX );
// //
// Emit signals. // Emit signals.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment