mirror of https://gitlab.com/pamhyr/pamhyr2
Pamhyr: Window: Fix title without study opened.
parent
3f650de52f
commit
a97717a624
|
|
@ -186,6 +186,7 @@ class PamhyrWindow(ASubMainWindow, ListedSubWindow, PamhyrWindowTools):
|
||||||
def _set_title(self):
|
def _set_title(self):
|
||||||
title = self._title
|
title = self._title
|
||||||
|
|
||||||
|
if self._study is not None:
|
||||||
if self._study.is_read_only():
|
if self._study.is_read_only():
|
||||||
title = "⛔ " + title
|
title = "⛔ " + title
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue