diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-10-09 00:24:14 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-10-09 00:24:14 +0200 |
commit | 36edf6cbc6f0b329e0b8f96dc5543cff0acb8aec (patch) | |
tree | ad127020649817ef6203fbea22d3eff954b5b110 /gui/OneSixModEditDialog.cpp | |
parent | 05e2da51d8d25374140dce3c1646a2a1a0a2a553 (diff) | |
parent | 9edc486f137c9719bd62c8c63ecc3d195f9dc79e (diff) | |
download | MultiMC-36edf6cbc6f0b329e0b8f96dc5543cff0acb8aec.tar MultiMC-36edf6cbc6f0b329e0b8f96dc5543cff0acb8aec.tar.gz MultiMC-36edf6cbc6f0b329e0b8f96dc5543cff0acb8aec.tar.lz MultiMC-36edf6cbc6f0b329e0b8f96dc5543cff0acb8aec.tar.xz MultiMC-36edf6cbc6f0b329e0b8f96dc5543cff0acb8aec.zip |
Merge branch 'feature_mcmod_info' into develop
Diffstat (limited to 'gui/OneSixModEditDialog.cpp')
-rw-r--r-- | gui/OneSixModEditDialog.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gui/OneSixModEditDialog.cpp b/gui/OneSixModEditDialog.cpp index 788a61d0..9724cec5 100644 --- a/gui/OneSixModEditDialog.cpp +++ b/gui/OneSixModEditDialog.cpp @@ -298,12 +298,15 @@ void OneSixModEditDialog::on_viewResPackBtn_clicked() openDirInDefaultProgram(m_inst->resourcePacksDir(), true); } -void OneSixModEditDialog::on_loaderWebsite_clicked() +void OneSixModEditDialog::on_loaderModTreeView_pressed(const QModelIndex &index) { int first, last; auto list = ui->loaderModTreeView->selectionModel()->selectedRows(); if (!lastfirst(list, first, last)) return; - showWebsiteForMod(this, m_mods->operator[](first)); + + Mod &m = m_mods->operator[](first); + + handleModInfoUpdate(m, ui->frame); } |