ui changes, formatting
This commit is contained in:
@@ -4,10 +4,12 @@ import sys
|
||||
from omegaconf import OmegaConf
|
||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||
|
||||
from src.logic.log import MyLogger
|
||||
from src import Icon
|
||||
from src.logic.log import MyLogger
|
||||
|
||||
from .dialog_sources.Ui_mail_preview import Ui_eMailPreview as MailPreviewDialog
|
||||
from .mailTemplate import MailTemplateDialog
|
||||
|
||||
config = OmegaConf.load("config.yaml")
|
||||
|
||||
logger = MyLogger("Mail")
|
||||
@@ -32,7 +34,7 @@ class Mail_Dialog(QtWidgets.QDialog, MailPreviewDialog):
|
||||
# app_subject,
|
||||
# prof_name,
|
||||
)
|
||||
|
||||
|
||||
self.appid = app_id
|
||||
self.appname = app_name
|
||||
self.subject = app_subject
|
||||
@@ -47,7 +49,7 @@ class Mail_Dialog(QtWidgets.QDialog, MailPreviewDialog):
|
||||
# if none of the radio buttons is checked, disable the accept button of the dialog
|
||||
self.setWindowIcon(Icon("mail").icon)
|
||||
self.btn_okay.setEnabled(False)
|
||||
Icon("edit_note",self.newTemplate)
|
||||
Icon("edit_note", self.newTemplate)
|
||||
self.newTemplate.clicked.connect(self.open_new_template)
|
||||
|
||||
if default_mail is not None:
|
||||
|
||||
Reference in New Issue
Block a user