File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ if errorlevel 1 goto error
165
165
166
166
tar -C %OSGEO4W_ROOT% -cjf %PACKAGENAME% -grass-plugin-%VERSION% -%PACKAGE% .tar.bz2 ^
167
167
--exclude-from exclude ^
168
- --exclude " *.pyc" \
168
+ --exclude " *.pyc" ^
169
169
" apps/%PACKAGENAME% /themes/classic/grass" ^
170
170
" apps/%PACKAGENAME% /themes/default/grass" ^
171
171
" apps/%PACKAGENAME% /themes/gis/grass" ^
Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ void QgsLegend::mouseMoveEvent( QMouseEvent * e )
345
345
int line_y;
346
346
if ( layer )
347
347
{
348
- QTreeWidgetItem *lastItem = item->childCount () > 0 ? item->child ( item->childCount () - 1 ) : item;
348
+ QTreeWidgetItem *lastItem = item->childCount () > 0 && item-> isExpanded () ? item->child ( item->childCount () - 1 ) : item;
349
349
int y0 = visualItemRect ( item ).top () + 1 ;
350
350
int y1 = visualItemRect ( lastItem ).bottom () - 2 ;
351
351
You can’t perform that action at this time.
0 commit comments