Skip to content

Commit

Permalink
Merge pull request #12 from Keeper-of-the-Keys/master
Browse files Browse the repository at this point in the history
Add firstRun property to PodcastListModel
  • Loading branch information
Keeper-of-the-Keys authored Mar 2, 2020
2 parents 006947b + 3433f64 commit 2d142ad
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions common/GPodderPodcastListModel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ import 'util.js' as Util

ListModel {
id: podcastListModel
property bool firstRun: false

function reload() {
py.call('main.load_podcasts', [], function (podcasts) {
Util.updateModelFrom(podcastListModel, podcasts);
if(!firstRun) {
firstRun = true;
}
});
}
}
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# of gpodder-core, but we might have a different release schedule later on. If
# we decide to have parallel releases, we can at least start using this version
# to check if the core version is compatible with the QML UI version.
__version__ = '4.9.0'
__version__ = '4.10.0'

import sys
import os
Expand Down
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PROJECT := gpodder-ui-qml
VERSION := 4.9.0
VERSION := 4.10.0

all:
@echo ""
Expand Down

0 comments on commit 2d142ad

Please sign in to comment.