mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
removed unused images from qrc files
fixed "delete comics" feature (getSelectedComics returns now a sorted list of QModelIndex)
This commit is contained in:
@ -663,7 +663,7 @@ void YACReaderFlowGL::insert(char *name, GLuint Tex, float x, float y,int item)
|
||||
void YACReaderFlowGL::remove(int item)
|
||||
{
|
||||
//reposition current selection
|
||||
if(item == currentSelected && currentSelected != 0){
|
||||
if(item <= currentSelected && currentSelected != 0){
|
||||
currentSelected--;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user