Skip to content

Commit

Permalink
Use QToolBox instead of QTabWidget in diagram properties
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Sep 3, 2012
1 parent 8f891c5 commit af29da6
Show file tree
Hide file tree
Showing 3 changed files with 463 additions and 499 deletions.
4 changes: 2 additions & 2 deletions src/app/qgsdiagramproperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,11 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde

if ( DIAGRAM_NAME_HISTOGRAM == diagramType || DIAGRAM_NAME_TEXT == diagramType )
{
mDiagramPropertiesTabWidget->setTabEnabled( 3, true );
mDiagramPropertiesToolBox->setItemEnabled( 3, true );
}
else
{
mDiagramPropertiesTabWidget->setTabEnabled( 3, false );
mDiagramPropertiesToolBox->setItemEnabled( 3, false );
}

if ( DIAGRAM_NAME_TEXT == diagramType || DIAGRAM_NAME_PIE == diagramType )
Expand Down
Loading

0 comments on commit af29da6

Please sign in to comment.