From dd7db0e2f249b614084603eaee8702e7ae4378af Mon Sep 17 00:00:00 2001 From: Kurt Hindenburg Date: Tue, 25 May 2010 03:35:21 +0000 Subject: [PATCH] Allow user to create new tabs from the menu when there are no profiles in the menu list. With the new menus were committed recently, this issue was missed. This has to be in 4.5 GUI BUG: 238423 svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1130310 --- src/ProfileList.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ProfileList.cpp b/src/ProfileList.cpp index c57f4db96..83e1fd9cc 100644 --- a/src/ProfileList.cpp +++ b/src/ProfileList.cpp @@ -43,10 +43,10 @@ ProfileList::ProfileList(bool addShortcuts , QObject* parent) // construct the list of favorite session types _group = new QActionGroup(this); - - // disabled action to be shown only when the list is empty - _emptyListAction = new QAction(i18n("No profiles available"),_group); - _emptyListAction->setEnabled(false); + + // Even when there are no profiles in the menu list, allow user to + // create new tabs from the menu + _emptyListAction = new QAction(i18n("Default profile"),_group); // TODO - Handle re-sorts when user changes profile names