From 0de7df69dcaddbe76985748333d7986b970aae03 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Thu, 7 Feb 2019 12:28:14 +0100 Subject: [PATCH] [backend][assetmodel] Fix initialisation Values of variables where wrong --- beat/editor/backend/assetmodel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beat/editor/backend/assetmodel.py b/beat/editor/backend/assetmodel.py index 4e0b273b..d5877a02 100644 --- a/beat/editor/backend/assetmodel.py +++ b/beat/editor/backend/assetmodel.py @@ -78,8 +78,8 @@ class AssetModel(QStringListModel, AssetType): super(QStringListModel, self).__init__(parent) - self.__prefix_path = AssetType.Unknown - self.__asset_type = None + self.__prefix_path = None + self.__asset_type = AssetType.Unknown @pyqtSlot() def reload(self): -- GitLab