[QGIS Commit] r9073 -
branches/advanced_printing_branch/src/app/composer
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Tue Aug 19 04:26:39 EDT 2008
Author: mhugent
Date: 2008-08-19 04:26:39 -0400 (Tue, 19 Aug 2008)
New Revision: 9073
Modified:
branches/advanced_printing_branch/src/app/composer/qgscomposerscalebarwidget.cpp
Log:
Fix for crash if scalebar is removed after the last map
Modified: branches/advanced_printing_branch/src/app/composer/qgscomposerscalebarwidget.cpp
===================================================================
--- branches/advanced_printing_branch/src/app/composer/qgscomposerscalebarwidget.cpp 2008-08-19 08:12:36 UTC (rev 9072)
+++ branches/advanced_printing_branch/src/app/composer/qgscomposerscalebarwidget.cpp 2008-08-19 08:26:39 UTC (rev 9073)
@@ -84,7 +84,7 @@
void QgsComposerScaleBarWidget::on_mMapComboBox_activated(const QString& text)
{
- if(!mComposerScaleBar)
+ if(!mComposerScaleBar || text.isEmpty())
{
return;
}
More information about the QGIS-commit
mailing list