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:
parent
47bb4343b9
commit
20ab578a17
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue