summaryrefslogtreecommitdiff
path: root/src/modlist.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-07-27 18:34:32 +0200
committerTannin <devnull@localhost>2014-07-27 18:34:32 +0200
commit470b6ed0bf20525988d719d23725f7c9d19a9f36 (patch)
tree289500f0d9e0f17f488fbc1dd53bfd5498ebeb65 /src/modlist.cpp
parent0050cb07409d775efe14e728c1cef4a2c33aa1db (diff)
- browser dialog now has a hidden url-field (for testing only)
- loot_cli is no longer part of this project. I will probably create a fork of loot that allows command-line usage instead - loot integration now works with such a modified loot version - integrated loot will now also integrate incompatibility messages in the MO UI - overwrite-markers are now updated as the list order is changed - fnis checker will now always allow the user to ignore fnis errors - plugin interface now has a function to wait for handles returned from startApplication (which can be job or process handles) - bugfix: non-mo mods sharing the name with regular mods now have a different internal name - bugfix: using hotkeys the vanilla game-plugins could be moved
Diffstat (limited to 'src/modlist.cpp')
-rw-r--r--src/modlist.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modlist.cpp b/src/modlist.cpp
index ca173b18..681d880c 100644
--- a/src/modlist.cpp
+++ b/src/modlist.cpp
@@ -224,7 +224,6 @@ QVariant ModList::data(const QModelIndex &modelIndex, int role) const
return QString();
}
} else {
- //return tr("None");
return QVariant();
}
}
@@ -887,6 +886,8 @@ void ModList::removeRow(int row, const QModelIndex&)
void ModList::notifyChange(int rowStart, int rowEnd)
{
if (rowStart < 0) {
+ m_Overwrite.clear();
+ m_Overwritten.clear();
beginResetModel();
endResetModel();
} else {
@@ -1021,6 +1022,7 @@ bool ModList::eventFilter(QObject *obj, QEvent *event)
notifyChange(idx.row());
}
}
+ emit modorder_changed();
return true;
} else if (keyEvent->key() == Qt::Key_Delete) {
QItemSelectionModel *selectionModel = itemView->selectionModel();