Skip to content
Permalink
Browse files

[pyqgis-console] set default value for splitters state

  • Loading branch information
slarosa committed May 29, 2013
1 parent f9ae9d5 commit 085f63696279e04e87e2d656af0235983c8e6e81
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 085f636

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