diff --git a/common/yacreader_flow_gl.cpp b/common/yacreader_flow_gl.cpp index 80d1d826..0058eab3 100644 --- a/common/yacreader_flow_gl.cpp +++ b/common/yacreader_flow_gl.cpp @@ -720,7 +720,7 @@ void YACReaderFlowGL::remove(int item) paths.removeAt(item); //reposition current selection - if(item < currentSelected && currentSelected != 0){ + if(item <= currentSelected && currentSelected != 0){ currentSelected--; }