зеркало из https://github.com/mozilla/pjs.git
Do not call setSelectedIndex on frame JList if there are no frames.
This commit is contained in:
Родитель
b869da1525
Коммит
d116b752fb
|
@ -1719,7 +1719,9 @@ class UpdateContext implements Runnable {
|
|||
toolTips.addElement(location);
|
||||
}
|
||||
db.context.enableUpdate();
|
||||
ctx.setSelectedIndex(0);
|
||||
if (frameCount != 0) {
|
||||
ctx.setSelectedIndex(0);
|
||||
}
|
||||
ctx.setMinimumSize(new Dimension(50, ctx.getMinimumSize().height));
|
||||
}
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче