src/gui/widgets/qtabwidget.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
--- a/src/gui/widgets/qtabwidget.cpp	Wed Jun 23 19:07:03 2010 +0300
+++ b/src/gui/widgets/qtabwidget.cpp	Tue Jul 06 15:10:48 2010 +0300
@@ -542,6 +542,8 @@
 {
     Q_D(QTabWidget);
     d->tabs->setTabEnabled(index, enable);
+    if (QWidget *widget = d->stack->widget(index))
+        widget->setEnabled(enable);
 }
 
 /*!