Skip to content
Permalink
Browse files

[pyqgis-console] change message bar to Warning

  • Loading branch information
slarosa authored and nyalldawson committed Sep 26, 2020
1 parent 1760e26 commit a2fb7f3eeb01d4d57f34d13ca40c8df7cdcb299c
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/console/console_editor.py
@@ -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"

0 comments on commit a2fb7f3

Please sign in to comment.
You can’t perform that action at this time.