Skip to content
Permalink
Browse files
Immediately show progress bar when opening attribute table
...instead of waiting 1 second before first showing it. It's a
placebo which doesn't affect the actual opening time, but
makes it seem more responsive to users by avoiding the
initial 1 second blocking delay before any feedback is
given.
  • Loading branch information
nyalldawson committed May 22, 2017
1 parent 0b95c77 commit 80a000cd98f3caa90d43f44e0b4bde22cffc1c43
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -422,7 +422,7 @@ void QgsAttributeTableModel::loadLayer()
{
++i;

if ( t.elapsed() > 1000 )
if ( t.elapsed() > 1000 || i == 1 )
{
bool cancel = false;
emit progress( i, cancel );

0 comments on commit 80a000c

Please sign in to comment.