mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-06-25 02:19:37 +02:00
Display little folder icon next to "add subfolder". I don't see these
icons on linux so hopefully this comes out looking right. :-) Fixes #2528.
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
* Fixed #2529, where dragging and dropping items between
|
||||
subfolders could cause a crash.
|
||||
|
||||
* Fixed #2528, display icon next to "new subfolder" menu item.
|
||||
|
||||
2011-06-23 theron <theron@netcitadel.com>
|
||||
|
||||
* Added support for creating user-defined subfolders. The
|
||||
|
||||
@@ -774,8 +774,10 @@ void ObjectManipulator::contextMenuRequested(const QPoint &pos)
|
||||
}
|
||||
|
||||
if (addSubfolder) {
|
||||
QAction *action = popup_menu->addAction(tr("New Subfolder"), this,
|
||||
SLOT(addSubfolderSlot()));
|
||||
QAction *action =
|
||||
popup_menu->addAction(QIcon(":/Icons/SystemGroup/icon-tree"),
|
||||
tr("New Subfolder"), this,
|
||||
SLOT(addSubfolderSlot()));
|
||||
action->setData(currentObj->getId());
|
||||
AddObjectActions.append(action);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user