diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-24 07:28:02 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 10:10:18 -0400 |
| commit | eb8140afadc5aa4e6d1d2611f69dc6e38f469978 (patch) | |
| tree | 8e5746ea4f06a23eb61062b587908ac6aaa8d8ec /src/modinfodialogfiletree.cpp | |
| parent | 949e451379d63fe4c6bff82a7a059c6792fbebb5 (diff) | |
grey out tab names when they have no data
remove tabs if they're can't handle the selected mod
next/previous now load mods in place without reopening the dialog
tab reordering is broken
Diffstat (limited to 'src/modinfodialogfiletree.cpp')
| -rw-r--r-- | src/modinfodialogfiletree.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modinfodialogfiletree.cpp b/src/modinfodialogfiletree.cpp index 3e233ccc..dae37f25 100644 --- a/src/modinfodialogfiletree.cpp +++ b/src/modinfodialogfiletree.cpp @@ -49,7 +49,9 @@ FileTreeTab::FileTreeTab( void FileTreeTab::clear() { m_fs->setRootPath({}); - //ui->filetree-> + + // always has data; even if the mod is empty, it still has a meta.ini + setHasData(true); } void FileTreeTab::update() |
