Skip to content

Commit f736730

Browse files
committed
Fix show other DB styles when there are no styles for current layer
Aka: cleaning my own mess :)
1 parent 0959e9f commit f736730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsvectorlayerloadstyledialog.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void QgsVectorLayerLoadStyleDialog::initializeLists( const QStringList &ids, con
156156
mRelatedTable->setDisabled( relatedTableNOfCols == 1 );
157157
mOthersTable->setDisabled( othersTableNOfCols == 1 );
158158

159-
if ( sectionLimit > 0 )
159+
if ( sectionLimit >= 0 )
160160
{
161161
for ( int i = 0; i < sectionLimit; i++ )
162162
{

0 commit comments

Comments
 (0)