From fcfd574ae944541d10508edaed50095e12497a1b Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Mon, 29 Oct 2012 13:52:01 +0300 Subject: [PATCH] Fixed crashes at moving items inside the library into new created folders. --- src/gui/UBFeaturesWidget.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/UBFeaturesWidget.cpp b/src/gui/UBFeaturesWidget.cpp index 272bb84c..106b4468 100644 --- a/src/gui/UBFeaturesWidget.cpp +++ b/src/gui/UBFeaturesWidget.cpp @@ -1347,7 +1347,9 @@ void UBFeaturesModel::moveData(const UBFeature &source, const UBFeature &destina deleteItem(source); } - emit dataRestructured(); +// Commented because of crashes on mac. But works fine. It is not predictable behavior. +// Please uncomment it if model will not refreshes +// emit dataRestructured();. } Qt::ItemFlags UBFeaturesModel::flags( const QModelIndex &index ) const