git.iko.soy/maciek134/podphoenix
on main help sign in
Do not hide currently viewed tab from the tabslist (rev 143)
commitb57eca08b0cd6cf9bb4f0b56ef9e9c5d5aabc4ef authorNekhelesh Ramananthan <krnekhelesh@gmail.com> dateTue 29 Mar 2016, 13:20 (11 years ago) parentd839119
1 file changed+4−4
app/components/TabsList.qml+4−4
app/components/TabsList.qml+4−4
@@ -25,7 +25,7 @@ ActionList {
2525 children: [
2626 Action {
2727 text: i18n.tr("Episodes")
28− visible: tabs.selectedTab !== episodesTab
28+ enabled: tabs.selectedTab !== episodesTab
2929 onTriggered: {
3030 tabs.selectedTabIndex = 0
3131 }
@@ -33,7 +33,7 @@ ActionList {
3333
3434 Action {
3535 text: i18n.tr("Add New Podcasts")
36− visible: tabs.selectedTab !== searchTab
36+ enabled: tabs.selectedTab !== searchTab
3737 onTriggered: {
3838 tabs.selectedTabIndex = 1
3939 }
@@ -41,7 +41,7 @@ ActionList {
4141
4242 Action {
4343 text: i18n.tr("Podcasts")
44− visible: tabs.selectedTab !== podcastTab
44+ enabled: tabs.selectedTab !== podcastTab
4545 onTriggered: {
4646 tabs.selectedTabIndex = 2
4747 }
@@ -49,7 +49,7 @@ ActionList {
4949
5050 Action {
5151 text: i18n.tr("Settings")
52− visible: tabs.selectedTab !== settingsTab
52+ enabled: tabs.selectedTab !== settingsTab
5353 onTriggered: {
5454 tabs.selectedTabIndex = 3
5555 }