removed unused images from qrc files

fixed "delete comics" feature (getSelectedComics returns now a sorted list of QModelIndex)
This commit is contained in:
Luis Ángel San Martín
2013-06-26 23:30:40 +02:00
parent 7b82b23962
commit 181be7be4c
4 changed files with 12 additions and 47 deletions

View File

@ -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--;
}