Skip to content

Commit

Permalink
add news button error
Browse files Browse the repository at this point in the history
  • Loading branch information
wish13yt committed Jan 18, 2025
1 parent 0114c8c commit d1eea08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/freakybrowse.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,9 @@ def __init__(self, *args, **kwargs):
news_button = QAction(QIcon(resource_path("assets/icons/news.png")), "News (NewsAPI.org)", self)
news_button.setStatusTip("Read news, right here, right now! (NewsAPI key required)")
#TODO: Add news button function
#news_button.triggered.connect(self.)
def news_button_error():
QMessageBox.warning(self, "Not Implemented", "News features have not been implemented (yet!)\n - FreakyBrowse Staff")
news_button.triggered.connect(news_button_error)
self.navtb.addAction(news_button)

# opens the notes stuff
Expand Down

0 comments on commit d1eea08

Please sign in to comment.