mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
Put the id in the quote.
This commit is contained in:
parent
ec8c8a9d88
commit
45d9364195
2 changed files with 3 additions and 5 deletions
|
@ -61,8 +61,7 @@ void CSVWorld::ScriptEdit::dropEvent (QDropEvent* event)
|
||||||
{
|
{
|
||||||
if (mAllowedTypes.contains (it->getType()))
|
if (mAllowedTypes.contains (it->getType()))
|
||||||
{
|
{
|
||||||
insertPlainText (QString::fromStdString (it->getId() + " "));
|
QString::fromStdString ('"' + it->getId() + '"'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// kate: indent-mode cstyle; indent-width 4; replace-tabs on;
|
|
|
@ -26,5 +26,4 @@ namespace CSVWorld
|
||||||
void dragMoveEvent (QDragMoveEvent* event);
|
void dragMoveEvent (QDragMoveEvent* event);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // SCRIPTEDIT_H
|
#endif // SCRIPTEDIT_H
|
||||||
// kate: indent-mode cstyle; indent-width 4; replace-tabs on;
|
|
Loading…
Add table
Add a link
Reference in a new issue