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
This commit is contained in:
Kurt Hindenburg
2010-05-25 03:35:21 +00:00
parent 72c85c6b18
commit dd7db0e2f2

View File

@@ -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