1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-11 00:39:59 +00:00

correction

This commit is contained in:
Marek Kochanowicz 2014-03-12 15:07:17 +01:00
parent 2e226e63b6
commit 1a9d4204d2

View File

@ -377,11 +377,6 @@ CSVWorld::DialogueSubView::DialogueSubView (const CSMWorld::UniversalId& id, CSM
void CSVWorld::DialogueSubView::prevId()
{
if (mRow < 1)
{
return;
}
int newRow = mRow - 1;
QModelIndex newIndex(mTable->index(newRow, 0));
@ -398,11 +393,6 @@ void CSVWorld::DialogueSubView::prevId()
void CSVWorld::DialogueSubView::nextId()
{
if (mRow == -1)
{
return;
}
int newRow = mRow + 1;
QModelIndex newIndex(mTable->index(newRow, 0));