* [ 1648436 ] Remove auto popup of calculator
This commit is contained in:
parent
138f16144d
commit
3b4aa6c0a1
|
@ -19,6 +19,7 @@ package org.compiere.grid.ed;
|
||||||
import java.text.*;
|
import java.text.*;
|
||||||
import javax.swing.text.*;
|
import javax.swing.text.*;
|
||||||
|
|
||||||
|
import org.compiere.apps.ADialog;
|
||||||
import org.compiere.util.*;
|
import org.compiere.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -203,10 +204,13 @@ public final class MDocNumber extends PlainDocument
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
log.fine("Input=" + c + " (" + (int)c + ")");
|
log.fine("Input=" + c + " (" + (int)c + ")");
|
||||||
|
//hengsin, [ 1648436 ] Remove auto popup of calculator
|
||||||
|
/*
|
||||||
String result = VNumber.startCalculator(m_tc, getText(),
|
String result = VNumber.startCalculator(m_tc, getText(),
|
||||||
m_format, m_displayType, m_title);
|
m_format, m_displayType, m_title);
|
||||||
super.remove(0, content.length());
|
super.remove(0, content.length());
|
||||||
super.insertString(0, result, attr);
|
super.insertString(0, result, attr);*/
|
||||||
|
ADialog.beep();
|
||||||
}
|
}
|
||||||
} // insertString
|
} // insertString
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue