fix: tracker context menu logic and server name

contextmenu.py: Harden context-menu handlers by validating row bounds against state.posts, avoid relying on selectedItems() in places where _context_menu_row is used, and handle directory paths when deleting downloads (os.path.isdir or isfile) before send2trash. Also streamline URL opening with exception handling. main.py: Update SERVER_NAME to "SoftwareManager_KeksPirates". These changes prevent out-of-range/selection errors and ensure directories are trashed safely; also update server identification.
This commit is contained in:
Vxrtrauter
2026-04-09 23:13:23 +02:00
parent b4ba9ea4d1
commit 7aea5c882a
2 changed files with 11 additions and 22 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ import signal
import time
import sys
SERVER_NAME = "SoftwareManager_python"
SERVER_NAME = "SoftwareManager_KeksPirates"
class SingleInstance(QObject):
def __init__(self):