mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-06-27 11:39:16 +02:00
Preserve the configured path line style when no style is provided in the data
This commit is contained in:
@ -200,7 +200,8 @@ void PathItem::updateWidth()
|
||||
|
||||
Qt::PenStyle PathItem::penStyle() const
|
||||
{
|
||||
return _useStyle ? Qt::SolidLine : _penStyle;
|
||||
return (_useStyle && _path.style().style() != Qt::NoPen)
|
||||
? _path.style().style() : _penStyle;
|
||||
}
|
||||
|
||||
void PathItem::setPenStyle(Qt::PenStyle style)
|
||||
|
Reference in New Issue
Block a user