Skip to content
Permalink
Browse files

Fix show other DB styles when there are no styles for current layer

Aka: cleaning my own mess :)
  • Loading branch information
elpaso committed Oct 25, 2018
1 parent 0959e9f commit f73673060b0226b5c7427bd255b8e4ca8a60ea07
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 f736730

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