}
}
- if ( isMoved ) {
+ if ( isMoved )
+ {
emit orderChanged();
}
}
// enable/disable drag and drop
myList->setDragEnabled( theIsToEnable );
-}
\ No newline at end of file
+}
+
+void HYDROGUI_OrderedListWidget::undoLastMove()
+{
+ HYDROGUI_ListModel* aModel = getSourceModel();
+ if( aModel )
+ aModel->undoLastMove();
+}