Skip to content

Commit

Permalink
Fixes to README and code
Browse files Browse the repository at this point in the history
* Fixed missing window icon on "Title Required" dialog box
* Added missing parenthesis on README.md
  • Loading branch information
Tizzu committed Mar 3, 2020
1 parent 92bf4ef commit e3387dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can run the code without creating an .exe file, but unfortunately it won't s

***
### Usage
**Before using this application you have to retreive your Pebble timeline token** (you can install [this watchapp](https://apps.rebble.io/en_US/application/5d9ac26dc393f54d6b5f5445) on your Pebble - or search for "Generate Token" on the Rebble Store - and follow the instructions to get it and put it inside "token.txt"
**Before using this application you have to retreive your Pebble timeline token** (you can install [this watchapp](https://apps.rebble.io/en_US/application/5d9ac26dc393f54d6b5f5445) on your Pebble - or search for "Generate Token" on the Rebble Store - and follow the instructions to get it and put it inside "token.txt")

Once it's there you can open the application and start sending pins!
***
Expand Down
3 changes: 2 additions & 1 deletion memos.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ def sendToTest(self):
alert = QMessageBox()
alert.setWindowTitle('Rebble Memos')
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("memo.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
# NOTE: Manually changed to resource_path()
icon.addPixmap(QtGui.QPixmap(resource_path("memo.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
alert.setWindowIcon(icon)
alert.setText("Title required. \nPlease insert one and try again")
alert.setMinimumWidth(500)
Expand Down

0 comments on commit e3387dc

Please sign in to comment.