Make sure deleted documents are closed if open

This commit is contained in:
Veronica Berglyd Olsen
2024-11-21 22:24:34 +01:00
parent 7ed619cf2e
commit e0b27317f3
3 changed files with 8 additions and 2 deletions
+4 -1
View File
@@ -20,7 +20,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
"""
from __future__ import annotations
from PyQt5.QtGui import QIcon, QPixmap
from PyQt5.QtGui import QFont, QIcon, QPixmap
from PyQt5.QtWidgets import QWidget
@@ -68,6 +68,9 @@ class MockTheme:
def __init__(self):
self.baseIconHeight = 20
self.guiFont = QFont()
self.guiFontB = QFont()
self.guiFontBU = QFont()
return
def getPixmap(self, *a):