Skip to content

Commit

Permalink
fix #1870
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11441 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Aug 19, 2009
1 parent 515f121 commit 0466bca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/grass/qgsgrassattributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,10 @@ void QgsGrassAttributes::updateAttributes( )

if ( tb->rowCount() > 2 )
{

// Stop editing
QApplication::focusWidget()->clearFocus();
QWidget *w = QApplication::focusWidget();
if ( w )
w->clearFocus();

QString sql;

Expand Down

0 comments on commit 0466bca

Please sign in to comment.