Skip to content

Commit af29da6

Browse files
committed
Use QToolBox instead of QTabWidget in diagram properties
1 parent 8f891c5 commit af29da6

File tree

3 files changed

+463
-499
lines changed

3 files changed

+463
-499
lines changed

src/app/qgsdiagramproperties.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,11 @@ void QgsDiagramProperties::on_mDiagramTypeComboBox_currentIndexChanged( int inde
324324

325325
if ( DIAGRAM_NAME_HISTOGRAM == diagramType || DIAGRAM_NAME_TEXT == diagramType )
326326
{
327-
mDiagramPropertiesTabWidget->setTabEnabled( 3, true );
327+
mDiagramPropertiesToolBox->setItemEnabled( 3, true );
328328
}
329329
else
330330
{
331-
mDiagramPropertiesTabWidget->setTabEnabled( 3, false );
331+
mDiagramPropertiesToolBox->setItemEnabled( 3, false );
332332
}
333333

334334
if ( DIAGRAM_NAME_TEXT == diagramType || DIAGRAM_NAME_PIE == diagramType )

0 commit comments

Comments
 (0)