mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-21 19:04:42 -04:00
minor fix
This commit is contained in:
parent
313bdf4e78
commit
51151bc43e
@ -56,7 +56,7 @@ void CSVWorld::Table::contextMenuEvent (QContextMenuEvent *event)
|
|||||||
|
|
||||||
{
|
{
|
||||||
// Request UniversalId editing from table columns.
|
// Request UniversalId editing from table columns.
|
||||||
|
|
||||||
int currRow = rowAt( event->y() ),
|
int currRow = rowAt( event->y() ),
|
||||||
currCol = columnAt( event->x() );
|
currCol = columnAt( event->x() );
|
||||||
|
|
||||||
@ -73,7 +73,7 @@ void CSVWorld::Table::contextMenuEvent (QContextMenuEvent *event)
|
|||||||
CSMWorld::UniversalId::Type colType = CSMWorld::TableMimeData::convertEnums( colDisplay );
|
CSMWorld::UniversalId::Type colType = CSMWorld::TableMimeData::convertEnums( colDisplay );
|
||||||
|
|
||||||
if ( !cellData.isEmpty()
|
if ( !cellData.isEmpty()
|
||||||
&& colType != CSMWorld::UniversalId::Type::Type_None )
|
&& colType != CSMWorld::UniversalId::Type_None )
|
||||||
{
|
{
|
||||||
mEditCellAction->setText(tr("Edit '").append(cellData).append("'"));
|
mEditCellAction->setText(tr("Edit '").append(cellData).append("'"));
|
||||||
|
|
||||||
@ -247,7 +247,7 @@ CSVWorld::Table::Table (const CSMWorld::UniversalId& id,
|
|||||||
mMoveDownAction = new QAction (tr ("Move Down"), this);
|
mMoveDownAction = new QAction (tr ("Move Down"), this);
|
||||||
connect (mMoveDownAction, SIGNAL (triggered()), this, SLOT (moveDownRecord()));
|
connect (mMoveDownAction, SIGNAL (triggered()), this, SLOT (moveDownRecord()));
|
||||||
addAction (mMoveDownAction);
|
addAction (mMoveDownAction);
|
||||||
|
|
||||||
mEditCellAction = new QAction( tr("Edit Cell"), this );
|
mEditCellAction = new QAction( tr("Edit Cell"), this );
|
||||||
connect( mEditCellAction, SIGNAL(triggered()), this, SLOT(editCell()) );
|
connect( mEditCellAction, SIGNAL(triggered()), this, SLOT(editCell()) );
|
||||||
addAction( mEditCellAction );
|
addAction( mEditCellAction );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user