added a key to 'close all others'
This commit is contained in:
parent
cb56ae9c8a
commit
6fb1c5e265
@ -196,7 +196,7 @@ void PTextEdit::setupFileActions()
|
|||||||
a = new QAction( tr( "Close &All" ), 0, this, "fileCloseAll" );
|
a = new QAction( tr( "Close &All" ), 0, this, "fileCloseAll" );
|
||||||
connect( a, SIGNAL( activated() ), this, SLOT( fileCloseAll() ) );
|
connect( a, SIGNAL( activated() ), this, SLOT( fileCloseAll() ) );
|
||||||
a->addTo( menu );
|
a->addTo( menu );
|
||||||
a = new QAction( tr( "Clo&se All Others" ), 0, this, "fileCloseAllOthers" );
|
a = new QAction( tr( "Clo&se All Others" ), CTRL + SHIFT + Key_W, this, "fileCloseAllOthers" );
|
||||||
connect( a, SIGNAL( activated() ), this, SLOT( fileCloseAllOthers() ) );
|
connect( a, SIGNAL( activated() ), this, SLOT( fileCloseAllOthers() ) );
|
||||||
a->addTo( menu );
|
a->addTo( menu );
|
||||||
menu->insertSeparator();
|
menu->insertSeparator();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user