diff options
| author | Tannin <devnull@localhost> | 2014-07-27 18:34:32 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-07-27 18:34:32 +0200 |
| commit | 715623e7905e5f64f5b331f4523642aab1aedd34 (patch) | |
| tree | 38822f96aee0b584e13d19af9c5875a2950f3e55 /src/pluginlist.cpp | |
| parent | 9879aae5757e0c2ca930b38c6b7a4aeb4715d2d9 (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/pluginlist.cpp')
| -rw-r--r-- | src/pluginlist.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pluginlist.cpp b/src/pluginlist.cpp index dc81766f..52d95f24 100644 --- a/src/pluginlist.cpp +++ b/src/pluginlist.cpp @@ -1074,6 +1074,13 @@ bool PluginList::eventFilter(QObject *obj, QEvent *event) diff = 1;
}
QModelIndexList rows = selectionModel->selectedRows();
+ // remove elements that aren't supposed to be movable
+ QMutableListIterator<QModelIndex> iter(rows);
+ while (iter.hasNext()) {
+ if ((iter.next().flags() & Qt::ItemIsDragEnabled) == 0) {
+ iter.remove();
+ }
+ }
if (keyEvent->key() == Qt::Key_Down) {
for (int i = 0; i < rows.size() / 2; ++i) {
rows.swap(i, rows.size() - i - 1);
|
