Bug report #936
Legend name too long when executing "qgis vectorfile.shp"
|Affected QGIS version:
|Pull Request or Patch supplied:
|Crashes QGIS or corrupts data:
|Copied to github as #:
Displaying a vector layer by specifying a vector file on the command line displays the vector and the complete file path as the name in the legend. If I work in a deeply nest directory, this name can be very long. It would be great if the legend name is the basename of this long path.