Skip to content

Commit

Permalink
[pyqgis-console] change message bar to Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa authored and nyalldawson committed Sep 26, 2020
1 parent 1760e26 commit a2fb7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/console/console_editor.py
Expand Up @@ -370,7 +370,7 @@ def shareOnGist(self, is_public):
if not ACCESS_TOKEN:
msg_text = QCoreApplication.translate(
'PythonConsole', 'GitHub personal access token must be generated (see Console Options)')
self.parent.pc.callWidgetMessageBarEditor(msg_text, 0, True)
self.parent.pc.callWidgetMessageBarEditor(msg_text, 1, True)
return

URL = "https://api.github.com/gists"
Expand Down

0 comments on commit a2fb7f3

Please sign in to comment.