mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
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:
+1
-1
@@ -25,7 +25,7 @@ import signal
|
||||
import time
|
||||
import sys
|
||||
|
||||
SERVER_NAME = "SoftwareManager_python"
|
||||
SERVER_NAME = "SoftwareManager_KeksPirates"
|
||||
|
||||
class SingleInstance(QObject):
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user