mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correct modality state
This commit is contained in:
+7
-3
@@ -346,11 +346,15 @@ public abstract class InspectionToolsConfigurable extends BaseConfigurable imple
|
||||
final SingleInspectionProfilePanel panel = getSelectedPanel();
|
||||
if (panel != null) {
|
||||
mySelectionAlarm = new Alarm(Alarm.ThreadToUse.SWING_THREAD);
|
||||
mySelectionAlarm.addRequest(new Runnable() {
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
public void run() {
|
||||
panel.updateSelection();
|
||||
mySelectionAlarm.addRequest(new Runnable() {
|
||||
public void run() {
|
||||
panel.updateSelection();
|
||||
}
|
||||
}, 200);
|
||||
}
|
||||
}, 200);
|
||||
});
|
||||
|
||||
myShareProfileCheckBox.setSelected(panel.isProfileShared());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user