summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-04-19 21:24:11 +0200
committerPetr Mrázek <peterix@gmail.com>2014-04-19 21:24:11 +0200
commit565dab24b54b154df046644e00caa58a663a6ba4 (patch)
treee5a07115b615042e495adf78da4b51cedd494f43 /gui
parentbf1632e4ed09f3fdc140b25a67b82f2bedb66f76 (diff)
downloadMultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar.gz
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar.lz
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.tar.xz
MultiMC-565dab24b54b154df046644e00caa58a663a6ba4.zip
Download and cache FML libs for legacy minecraft versions.
* minor fix for version filtering (1.5 no longer shows forge for 1.5.1 and 1.5.2) * FML libs are downloaded to mods/minecraftforge/libs and cached * FML libs are copied to instances which contain FML or forge
Diffstat (limited to 'gui')
-rw-r--r--gui/dialogs/VersionSelectDialog.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/dialogs/VersionSelectDialog.cpp b/gui/dialogs/VersionSelectDialog.cpp
index 3277fd2f..f4d314b6 100644
--- a/gui/dialogs/VersionSelectDialog.cpp
+++ b/gui/dialogs/VersionSelectDialog.cpp
@@ -100,7 +100,9 @@ void VersionSelectDialog::on_refreshButton_clicked()
void VersionSelectDialog::setFilter(int column, QString filter)
{
m_proxyModel->setFilterKeyColumn(column);
- m_proxyModel->setFilterFixedString(filter);
+ // m_proxyModel->setFilterFixedString(filter);
+ m_proxyModel->setFilterRegExp(QRegExp(QString("^%1$").arg(filter.replace(".", "\\.")),
+ Qt::CaseInsensitive, QRegExp::RegExp));
/*
QStringList filteredTypes;
if (!ui->filterSnapshotsCheckbox->isChecked())