Showing with 9 additions and 46 deletions.
  1. +4 −7 python/console/console.py
  2. BIN python/qsci_apis/pyqgis.pap
  3. +5 −39 src/ui/qgsabout.ui
11 changes: 4 additions & 7 deletions python/console/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,14 +645,11 @@ def saveScriptFile(self):
error.strerror)
self.callWidgetMessageBarEditor(msgText, 2, False)

def saveAsScriptFile(self, index=-1):
def saveAsScriptFile(self, index=None):
tabWidget = self.tabEditorWidget.currentWidget()
if index != -1:
tabWidget = self.tabEditorWidget.widget(index)
index = self.tabEditorWidget.currentIndex()
if tabWidget is None:
return
if tabWidget.path is None:
if not index:
index = self.tabEditorWidget.currentIndex()
if not tabWidget.path:
pathFileName = self.tabEditorWidget.tabText(index) + '.py'
fileNone = True
else:
Expand Down
Binary file modified python/qsci_apis/pyqgis.pap
Binary file not shown.
44 changes: 5 additions & 39 deletions src/ui/qgsabout.ui
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</size>
</property>
<property name="windowTitle">
<string>Options Dialog Template</string>
<string>About QGIS</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
Expand Down Expand Up @@ -150,7 +150,7 @@
</sizepolicy>
</property>
<property name="currentIndex">
<number>8</number>
<number>5</number>
</property>
<widget class="QWidget" name="mOptsPage_01">
<layout class="QVBoxLayout" name="verticalLayout_4">
Expand Down Expand Up @@ -428,38 +428,6 @@ p, li { white-space: pre-wrap; }
</property>
<item>
<widget class="QLabel" name="label_10">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="styleSheet">
<string notr="true">font-weight:bold;</string>
</property>
<property name="text">
<string>Contributors</string>
</property>
</widget>
</item>
<item>
<widget class="QWebView" name="txtTranslators">
<property name="url">
<url>
<string>about:blank</string>
</url>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="page_6">
<layout class="QVBoxLayout" name="verticalLayout_9">
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="label_11">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
<horstretch>0</horstretch>
Expand All @@ -475,7 +443,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item>
<widget class="QWebView" name="txtTranslators_2">
<widget class="QWebView" name="txtTranslators">
<property name="url">
<url>
<string>about:blank</string>
Expand All @@ -502,7 +470,7 @@ p, li { white-space: pre-wrap; }
<string notr="true">font-weight:bold;</string>
</property>
<property name="text">
<string>Translators</string>
<string>Donors</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -535,7 +503,7 @@ p, li { white-space: pre-wrap; }
<string notr="true">font-weight:bold;</string>
</property>
<property name="text">
<string>Translators</string>
<string>License</string>
</property>
</widget>
</item>
Expand Down Expand Up @@ -591,9 +559,7 @@ p, li { white-space: pre-wrap; }
</customwidget>
</customwidgets>
<resources>
<include location="../../../../Users/NATHAN~1.WOO/images/images.qrc"/>
<include location="../../images/images.qrc"/>
<include location="C:/images/images.qrc"/>
</resources>
<connections>
<connection>
Expand Down