File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
python/plugins/processing/algs/grass7 Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -472,14 +472,14 @@ def checkGrassIsInstalled(ignorePreviousState=False):
472
472
'it before running GRASS GIS 7 algorithms.' )
473
473
if Grass7Utils .command is None :
474
474
return Grass7Utils .tr (
475
- 'GRASS GIS 7 binary {0} can\t be found on this system from a shell.'
475
+ 'GRASS GIS 7 binary {0} can\' t be found on this system from a shell. '
476
476
'Please install it or configure your PATH {1} environment variable.' .format (
477
477
'(grass.bat)' if isWindows () else '(grass.sh)' ,
478
478
'or OSGEO4W_ROOT' if isWindows () else '' ))
479
479
# GNU/Linux
480
480
else :
481
481
return Grass7Utils .tr (
482
- 'GRASS 7 can\' t be found on this system from a shell.'
482
+ 'GRASS 7 can\' t be found on this system from a shell. '
483
483
'Please install it or configure your PATH environment variable.' )
484
484
485
485
@staticmethod
Original file line number Diff line number Diff line change @@ -451,11 +451,6 @@ QTreeWidgetItem *QgsAttributesFormProperties::loadAttributeEditorTreeItem( QgsAt
451
451
452
452
void QgsAttributesFormProperties::onAttributeSelectionChanged ()
453
453
{
454
- bool isAddPossible = false ;
455
- if ( mFormLayoutTree ->selectedItems ().count () == 1 && !mAvailableWidgetsTree ->selectedItems ().isEmpty () )
456
- if ( mFormLayoutTree ->selectedItems ()[0 ]->data ( 0 , DnDTreeRole ).value <DnDTreeItemData>().type () == DnDTreeItemData::Container )
457
- isAddPossible = true ;
458
-
459
454
storeAttributeTypeDialog ();
460
455
storeAttributeRelationEdit ();
461
456
You can’t perform that action at this time.
0 commit comments