Fixed crashes at moving items inside the library into new created folders.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent aa99ec4b3b
commit fcfd574ae9
  1. 4
      src/gui/UBFeaturesWidget.cpp

@ -1347,7 +1347,9 @@ void UBFeaturesModel::moveData(const UBFeature &source, const UBFeature &destina
deleteItem(source); 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 Qt::ItemFlags UBFeaturesModel::flags( const QModelIndex &index ) const

Loading…
Cancel
Save