Skip to content
Permalink
Browse files
Fix for ticket #830 (print composer pane is wrong on first running of
qgis)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7812 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Dec 27, 2007
1 parent 59cae05 commit 8015cd40b77f6ca099ca177c2939ec651916b3b5
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/app/composer/qgscomposer.cpp
@@ -926,7 +926,15 @@ void QgsComposer::restoreWindowState()
{
QSettings settings;
restoreGeometry(settings.value("/Composer/geometry").toByteArray());
mSplitter->restoreState(settings.value("/Composer/splitterState").toByteArray());
QVariant splitterState = settings.value("/Composer/splitterState");
if (splitterState != QVariant::QVariant())
mSplitter->restoreState(settings.value("/Composer/splitterState").toByteArray());
else
{
QList<int> defaultSize;
defaultSize << 300 << 100;
mSplitter->setSizes(defaultSize);
}
}

void QgsComposer::on_helpPButton_clicked()

0 comments on commit 8015cd4

Please sign in to comment.