diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-24 10:35:31 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 10:10:18 -0400 |
| commit | f14f2bad3ba7440d6f36657f32d00c89cae54623 (patch) | |
| tree | 513ab6d43d931ca98f13c25a26c8fb917c13847e /src/modinfodialogtab.cpp | |
| parent | 581cfacbbdee17f2b4df8195487e5934702a430e (diff) | |
don't update invisible tabs
update tabs when origin changes
change setting name because 2.2.0 can't handle the text list
Diffstat (limited to 'src/modinfodialogtab.cpp')
| -rw-r--r-- | src/modinfodialogtab.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modinfodialogtab.cpp b/src/modinfodialogtab.cpp index 2f5fbdb8..009fb804 100644 --- a/src/modinfodialogtab.cpp +++ b/src/modinfodialogtab.cpp @@ -53,6 +53,11 @@ bool ModInfoDialogTab::canHandleUnmanaged() const return false; } +bool ModInfoDialogTab::usesOriginFiles() const +{ + return true; +} + void ModInfoDialogTab::setMod(ModInfo::Ptr mod, MOShared::FilesOrigin* origin) { m_mod = mod; @@ -158,3 +163,8 @@ void NotesTab::onNotes() mod()->setNotes(ui->notesEdit->toHtml()); } } + +bool NotesTab::usesOriginFiles() const +{ + return false; +} |
