Skip to content
Permalink
Browse files

[vertex editor] selected vertices are in bold too

  • Loading branch information
3nids committed Jun 7, 2018
1 parent 83a4fbf commit c825f6e0ef103a69840aa92f3675f575c01a5b90
Showing with 13 additions and 3 deletions.
  1. +13 −3 src/app/vertextool/qgsvertexeditor.cpp
@@ -107,11 +107,21 @@ QVariant QgsVertexEditorModel::data( const QModelIndex &index, int role ) const
{
double r = 0;
double minRadius = 0;
QFont font = mWidgetFont;
bool fontChanged = false;
if ( vertex->isSelected() )
{
font.setBold( true );
fontChanged = true;
}
if ( calcR( index.row(), r, minRadius ) )
{
QFont curvePointFont = mWidgetFont;
curvePointFont.setItalic( true );
return curvePointFont;
font.setItalic( true );
fontChanged = true;;
}
if ( fontChanged )
{
return font;
}
else
{

0 comments on commit c825f6e

Please sign in to comment.
You can’t perform that action at this time.