mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
CtrlLib: EditField: Fixed issue with drag&drop of formatted numbers
git-svn-id: svn://ultimatepp.org/upp/trunk@6645 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4bfba9a62f
commit
1f4756ce4e
1 changed files with 1 additions and 1 deletions
|
|
@ -463,7 +463,7 @@ void EditField::GotFocus()
|
|||
|
||||
void EditField::LostFocus()
|
||||
{
|
||||
if(autoformat && IsEditable() && !IsNull(text)) {
|
||||
if(autoformat && IsEditable() && !IsNull(text) && !IsDragAndDropSource()) {
|
||||
Value v = convert->Scan(text);
|
||||
if(!v.IsError()) {
|
||||
const Convert * cv = inactive_convert ? inactive_convert : convert;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue