Skip to content

Commit

Permalink
Merge pull request #8325 from elpaso/bugfix-other-db-styles
Browse files Browse the repository at this point in the history
Fix show other DB styles when there are no styles for current layer
  • Loading branch information
elpaso committed Oct 25, 2018
2 parents dc334ac + f736730 commit 653a668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsvectorlayerloadstyledialog.cpp
Expand Up @@ -156,7 +156,7 @@ void QgsVectorLayerLoadStyleDialog::initializeLists( const QStringList &ids, con
mRelatedTable->setDisabled( relatedTableNOfCols == 1 );
mOthersTable->setDisabled( othersTableNOfCols == 1 );

if ( sectionLimit > 0 )
if ( sectionLimit >= 0 )
{
for ( int i = 0; i < sectionLimit; i++ )
{
Expand Down

0 comments on commit 653a668

Please sign in to comment.