mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
GUI: fixed error on mouse move over some table headers
(close #13331, close #13282, close #13272, close #13256, close #13246, close #13163, close #13107)
This commit is contained in:
parent
216826b513
commit
fe52d824b4
1 changed files with 1 additions and 1 deletions
|
|
@ -64,10 +64,10 @@ public class MageTable extends JTable {
|
||||||
// html tooltip
|
// html tooltip
|
||||||
java.awt.Point p = e.getPoint();
|
java.awt.Point p = e.getPoint();
|
||||||
int colIndex = columnModel.getColumnIndexAtX(p.x);
|
int colIndex = columnModel.getColumnIndexAtX(p.x);
|
||||||
TableColumn col = columnModel.getColumn(colIndex);
|
|
||||||
if (colIndex < 0) {
|
if (colIndex < 0) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
TableColumn col = columnModel.getColumn(colIndex);
|
||||||
int realIndex = col.getModelIndex();
|
int realIndex = col.getModelIndex();
|
||||||
|
|
||||||
String tip;
|
String tip;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue