Skip to content
Permalink
Browse files

Merge pull request #622 from slarosa/one_more_fix_sipapiv2

[pyqgis-console] set default value for splitters state
  • Loading branch information
NathanW2 committed May 29, 2013
2 parents f9ae9d5 + 085f636 commit e4edb1b82748c3f2e0dcd6cc1ba643f1ccc42e4e
Showing with 5 additions and 5 deletions.
  1. +2 −2 python/console/console.py
  2. +3 −3 python/console/console_settings.ui
@@ -714,8 +714,8 @@ def restoreSettingsConsole(self):
storedTabScripts = self.settings.value("pythonConsole/tabScripts")
self.tabListScript = storedTabScripts
self.splitter.restoreState(self.settings.value("pythonConsole/splitterConsole", QByteArray()))
self.splitterEditor.restoreState(self.settings.value("pythonConsole/splitterEditor"))
self.splitterObj.restoreState(self.settings.value("pythonConsole/splitterObj"))
self.splitterEditor.restoreState(self.settings.value("pythonConsole/splitterEditor", QByteArray()))
self.splitterObj.restoreState(self.settings.value("pythonConsole/splitterObj", QByteArray()))

if __name__ == '__main__':
a = QApplication(sys.argv)
@@ -58,8 +58,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>554</width>
<height>642</height>
<width>546</width>
<height>687</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
@@ -352,7 +352,7 @@
<string>from APIs files</string>
</property>
<property name="checked">
<bool>false</bool>
<bool>true</bool>
</property>
</widget>
</item>

0 comments on commit e4edb1b

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