Merge branch 'arts' into v0.0.8

This commit is contained in:
Pierre-Antoine Rouby committed 2024-05-14 14:41:14 +02:00
commit c1f4aaf957
177 files changed
+331 -558

No files matched your search

+10 -1
View File
@@ -28,7 +28,7 @@ from tools import logger_exception
from PyQt5 import QtGui
from PyQt5.QtGui import (
QKeySequence, QDesktopServices,
QKeySequence, QDesktopServices, QIcon,
)
from PyQt5.QtCore import (
@@ -333,6 +333,15 @@ class ApplicationWindow(QMainWindow, ListedSubWindow, WindowToolKit):
self.update_enable_action()
# self.showMaximized()
image = os.path.abspath(
os.path.join(
os.path.dirname(__file__),
"ui", "ressources",
"Pamhyr2_logo.png"
)
)
self.setWindowIcon(QIcon(image))
def set_debug_lvl(self, debug=True):
if debug:
logger.setLevel(logging.DEBUG)