1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 15:57:34 +00:00

Fix issue with window maximization.

This commit is contained in:
Manu 2018-11-07 00:10:34 +08:00
parent 47bb4343b9
commit 20ab578a17

View file

@ -1,5 +1,5 @@
from PyQt5.QtWidgets import QShortcut
from PyQt5 import uic
from PyQt5 import uic, QtCore
from PyQt5.QtGui import QKeySequence
from ..config import APP_NAME
from .repo_tab import RepoTab
@ -20,6 +20,7 @@ def __init__(self, parent=None):
self.setupUi(self)
self.setWindowTitle(APP_NAME)
self.app = parent
self.setWindowFlags(QtCore.Qt.WindowCloseButtonHint | QtCore.Qt.WindowMinimizeButtonHint)
# Load tab models
self.repoTab = RepoTab(self.repoTabSlot)