Skip to content
Permalink
Browse files

Merge pull request #8325 from elpaso/bugfix-other-db-styles

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 653a668531a6f968582a138c05af75fc3726a3c4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgsvectorlayerloadstyledialog.cpp
@@ -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++ )
{

0 comments on commit 653a668

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