disable selection by empty slot

This commit is contained in:
Laserlicht
2024-10-30 21:36:37 +01:00
parent a54f4e1bd1
commit 1423951b9e
+1 -1
View File
@@ -307,7 +307,7 @@ void SelectionTab::clickReleased(const Point & cursorPosition)
{
int line = getLine();
if(line != -1)
if(line != -1 && curItems.size() > line)
{
select(line);
}