mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Friction: Forbidden duplicate window.
This commit is contained in:
1 parent
94a0a96659
commit
254f0d0e8e
3 files changed
+42
-17
No files matched your search
@@ -51,7 +51,7 @@ logger = logging.getLogger()
|
||||
|
||||
class StricklersWindow(ASubMainWindow, ListedSubWindow):
|
||||
def __init__(self, title="Stricklers", study=None, config=None, parent=None):
|
||||
title = title + " - " + study.name
|
||||
self._title = title + " - " + study.name
|
||||
|
||||
super(StricklersWindow, self).__init__(
|
||||
name=title, ui="Stricklers", parent=parent
|
||||
@@ -64,7 +64,7 @@ class StricklersWindow(ASubMainWindow, ListedSubWindow):
|
||||
self.setup_table()
|
||||
self.setup_connections()
|
||||
|
||||
self.ui.setWindowTitle(title)
|
||||
self.ui.setWindowTitle(self._title)
|
||||
|
||||
def setup_sc(self):
|
||||
self._undo_stack = QUndoStack()
|
||||
|
||||
Reference in new issue
Block a user