Skip to content

Commit

Permalink
sort dropped variables
Browse files Browse the repository at this point in the history
  • Loading branch information
boutinb committed Jun 25, 2019
1 parent e334b23 commit 63fbb10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions JASP-Desktop/widgets/qmllistviewdraggable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ void QMLListViewDraggable::_moveItems(QList<int> &indexes, ListModelDraggable* t
{
if (targetModel && indexes.size() > 0)
{
std::sort(indexes.begin(), indexes.end());
Options* options = _form->getAnalysisOptions();
if (options != nullptr)
options->blockSignals(true);
Expand Down

0 comments on commit 63fbb10

Please sign in to comment.