mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
correction
This commit is contained in:
parent
2e226e63b6
commit
1a9d4204d2
@ -377,11 +377,6 @@ CSVWorld::DialogueSubView::DialogueSubView (const CSMWorld::UniversalId& id, CSM
|
|||||||
|
|
||||||
void CSVWorld::DialogueSubView::prevId()
|
void CSVWorld::DialogueSubView::prevId()
|
||||||
{
|
{
|
||||||
if (mRow < 1)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int newRow = mRow - 1;
|
int newRow = mRow - 1;
|
||||||
QModelIndex newIndex(mTable->index(newRow, 0));
|
QModelIndex newIndex(mTable->index(newRow, 0));
|
||||||
|
|
||||||
@ -398,11 +393,6 @@ void CSVWorld::DialogueSubView::prevId()
|
|||||||
|
|
||||||
void CSVWorld::DialogueSubView::nextId()
|
void CSVWorld::DialogueSubView::nextId()
|
||||||
{
|
{
|
||||||
if (mRow == -1)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int newRow = mRow + 1;
|
int newRow = mRow + 1;
|
||||||
QModelIndex newIndex(mTable->index(newRow, 0));
|
QModelIndex newIndex(mTable->index(newRow, 0));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user