Skip to content

Commit

Permalink
Add title to bulletin popup
Browse files Browse the repository at this point in the history
  • Loading branch information
shrivaths16 committed Dec 21, 2023
1 parent 18974db commit cada26c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .conda_mac/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ export PIP_NO_DEPENDENCIES=False
export PIP_IGNORE_INSTALLED=False

pip install --no-cache-dir -r requirements.txt
pip install PySide2==5.14.1

python setup.py install --single-version-externally-managed --record=record.txt
2 changes: 1 addition & 1 deletion sleap/gui/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def __init__(
def bulletin_dialog(self):
"""Displays bulletin dialog is new announcement is available."""
# Initialize the bulletin popup worker
popup_worker = BulletinWorker(self.state["announcement"], self)
popup_worker = BulletinWorker("# What's New? \n#" + self.state["announcement"], self)
popup_worker.show_bulletin()

# Save the bulletin worker so we can close them later
Expand Down
1 change: 1 addition & 0 deletions sleap/gui/dialogs/bulletin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def __init__(self, content, parent=None):
self._content = content
# Set the window to stay on top
self.setWindowFlags(self.windowFlags() | Qt.WindowStaysOnTopHint)
self.setWindowTitle("What's New?")

def show_bulletin(self):

Expand Down

0 comments on commit cada26c

Please sign in to comment.