mirror of
https://github.com/KDE/konsole.git
synced 2026-05-03 12:15:33 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user