mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-82510 - assert: InfoAndProgressPanel.c
This commit is contained in:
+4
-2
@@ -357,6 +357,10 @@ public class InfoAndProgressPanel extends JPanel implements CustomStatusBarWidge
|
||||
private void buildInInlineIndicator(@NotNull final InlineProgressIndicator inline) {
|
||||
removeAll();
|
||||
setLayout(new InlineLayout());
|
||||
|
||||
final JRootPane pane = myInfoPanel.getRootPane();
|
||||
if (pane == null) return; // project frame is closed
|
||||
|
||||
add(myRefreshAndInfoPanel);
|
||||
|
||||
final JPanel inlinePanel = new JPanel(new BorderLayout());
|
||||
@@ -377,8 +381,6 @@ public class InfoAndProgressPanel extends JPanel implements CustomStatusBarWidge
|
||||
myRefreshAndInfoPanel.revalidate();
|
||||
myRefreshAndInfoPanel.repaint();
|
||||
|
||||
final JRootPane pane = myInfoPanel.getRootPane();
|
||||
assert pane != null;
|
||||
final PresentationModeProgressPanel panel = new PresentationModeProgressPanel(inline);
|
||||
MyInlineProgressIndicator delegate = new MyInlineProgressIndicator(true, inline.getInfo(), inline) {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user