Added cmdNew implementation.
This commit is contained in:
@@ -98,6 +98,8 @@ void XQChildModel::addSectionEntry( const QString& key, const XQNodePtr& content
|
||||
void XQChildModel::initContextMenu()
|
||||
{
|
||||
|
||||
_sections.dump();
|
||||
|
||||
// __fixme! add a menu title
|
||||
_contextMenu->clear();
|
||||
|
||||
@@ -117,7 +119,7 @@ void XQChildModel::initContextMenu()
|
||||
|
||||
// __fixme! set 'toggle section <name>' entry
|
||||
//contextMenu.actions().first()->setText("<name>");
|
||||
_contextMenu->addAction( "icn29Dummy", "Toggle Section", XQCommand::cmdToggleSection, hasSel);
|
||||
_contextMenu->addAction( "icn29Dummy", "Hide Section", XQCommand::cmdToggleSection, true );
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user