Skip to content

Commit

Permalink
Fix show other DB styles when there are no styles for current layer
Browse files Browse the repository at this point in the history
Aka: cleaning my own mess :)
  • Loading branch information
elpaso committed Oct 25, 2018
1 parent 0959e9f commit f736730
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 f736730

Please sign in to comment.