mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-18755 IPython notebook: Changing style works only after closing the editor
update cell type on click, do not update scroll position
This commit is contained in:
@@ -332,8 +332,9 @@ public class IpnbFileEditor extends UserDataHolderBase implements FileEditor {
|
||||
new CellSelectionListener() {
|
||||
@Override
|
||||
public void selectionChanged(@NotNull IpnbPanel ipnbPanel, boolean byMouse) {
|
||||
if (myCellTypeCombo == null || byMouse) return;
|
||||
if (myCellTypeCombo == null) return;
|
||||
updateCellTypeCombo(ipnbPanel);
|
||||
if (byMouse) return;
|
||||
updateScrollPosition(ipnbPanel);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user