Skip to content
Permalink
Browse files
fix #2874
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13986 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
borysiasty committed Jul 30, 2010
1 parent f116922 commit b1e260125b474ea747638d4896f2863d5206a84c
Showing with 4 additions and 4 deletions.
  1. +4 −4 python/console.py
@@ -78,7 +78,7 @@ def __init__(self, parent=None):
self.l = QVBoxLayout()
self.l.addWidget(self.edit)
self.setLayout(self.l)
self.setWindowTitle("Python console")
self.setWindowTitle(QCoreApplication.translate("PythonConsole", "Python Console"))

s = QSettings()
self.restoreGeometry(s.value("/python/console/geometry").toByteArray())
@@ -132,9 +132,9 @@ def __init__(self,parent=None):

self.buffer = []

self.insertTaggedText("To access Quantum GIS environment from this console\n"
"use qgis.utils.iface object (instance of QgisInterface class).\n"
"\n", ConsoleHighlighter.INIT)
self.insertTaggedText(QCoreApplication.translate("PythonConsole", "To access Quantum GIS environment from this console\n"
"use qgis.utils.iface object (instance of QgisInterface class).\n\n"),
ConsoleHighlighter.INIT)

for line in _init_commands:
self.runsource(line)

0 comments on commit b1e2601

Please sign in to comment.