Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/qgsscalecombobox.cpp
4 changes: 4 additions & 0 deletions src/gui/qgsscalecombobox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ void QgsScaleComboBox::showPopup()
{
QComboBox::showPopup();

if ( !currentText().contains( ':' ) )
{
return;
}
QStringList parts = currentText().split( ':' );
bool ok;
int idx = 0;
Expand Down