PY-17265 Consistently pre-select the last component in the target module path
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Fri, 21 Oct 2016 18:38:38 +0000 (21:38 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 24 Oct 2016 21:03:49 +0000 (00:03 +0300)
commit0a312354c799f45d868b97eda6c2127dfe47e8b0
tree16e6567fb920f448173a297498a66041d9003b97
parentcd45e79ab272055de8165914bfc07f481268f1a2
PY-17265 Consistently pre-select the last component in the target module path

Namely, do it in DialogWrapper.init() instead of somewhat unreliable
UiNotifyConnector.doWhenFirstShown() and use special
DialogWrapperPeer.HAVE_INITIAL_SELECTION key so as not to lose
selection in the focused text field.
python/src/com/jetbrains/python/refactoring/move/PyBaseMoveDialog.java
python/src/com/jetbrains/python/refactoring/move/moduleMembers/PyMoveModuleMembersDialog.java