-rw-r--r-- | core/settings/launcher/menusettings.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/settings/launcher/menusettings.cpp b/core/settings/launcher/menusettings.cpp index faa7cf4..dc8e993 100644 --- a/core/settings/launcher/menusettings.cpp +++ b/core/settings/launcher/menusettings.cpp @@ -66,3 +66,3 @@ MenuSettings::MenuSettings ( QWidget *parent, const char *name ) - m_menusubpopup = new QCheckBox ( tr( "Show Applications in subpopups" ), this ); + m_menusubpopup = new QCheckBox ( tr( "Show Applications in Subpopups" ), this ); lay-> addWidget ( m_menusubpopup ); @@ -125,2 +125,5 @@ void MenuSettings::init ( ) m_menusubpopup-> setChecked ( cfg. readBoolEntry ( "LauncherSubPopup", true )); + m_menusubpopup->setEnabled( m_menutabs->isChecked() ); + connect( m_menutabs, SIGNAL( stateChanged( int ) ), m_menusubpopup, SLOT( setEnabled( bool ) ) ); + } |