HaikuDepot: Contents for Local Pkg
Enables the content tab for showing contents of on-disk, but not yet installed package. Resolves #16161 Change-Id: I5e4764cf3e9f1e46eafb3d98917a357fece854dc Reviewed-on: https://review.haiku-os.org/c/haiku/+/2853 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
50c7fbacb7
commit
6178aeb315
@ -1251,7 +1251,8 @@ public:
|
||||
TabAt(TAB_CHANGELOG)->SetEnabled(
|
||||
package.Get() != NULL && package->HasChangelog());
|
||||
TabAt(TAB_CONTENTS)->SetEnabled(
|
||||
package.Get() != NULL && package->State() == ACTIVATED);
|
||||
package.Get() != NULL
|
||||
&& (package->State() == ACTIVATED || package->IsLocalFile()));
|
||||
Invalidate(TabFrame(TAB_CHANGELOG));
|
||||
Invalidate(TabFrame(TAB_CONTENTS));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user