fix: add missing logger import at top of main_window.py

- Import logging module
- Create logger instance for use in event handlers
- Fixes 'name logger is not defined' errors
This commit is contained in:
LemonNexus 2026-02-10 14:15:44 +00:00
parent 818d0f98f3
commit ecf27a504c
1 changed files with 4 additions and 0 deletions

View File

@ -4,11 +4,15 @@ PyQt6 GUI for managing game automation projects and sessions.
"""
import sys
import logging
from datetime import datetime
from enum import Enum, auto
from typing import Optional, List, Callable
from dataclasses import dataclass
# Setup logger
logger = logging.getLogger(__name__)
from PyQt6.QtWidgets import (
QMainWindow, QWidget, QVBoxLayout, QHBoxLayout,
QSplitter, QPushButton, QListWidget, QListWidgetItem,