mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed bug with history stop working after executing empty last history item (PY-3232).
This commit is contained in:
+2
-3
@@ -60,9 +60,8 @@ public class ConsoleExecuteActionHandler {
|
||||
languageConsole.addCurrentToHistory(range, false, myPreserveMarkup);
|
||||
}
|
||||
languageConsole.setInputText("");
|
||||
if (!StringUtil.isEmptyOrSpaces(text)) {
|
||||
myConsoleHistoryModel.addToHistory(text);
|
||||
}
|
||||
|
||||
myConsoleHistoryModel.addToHistory(text);
|
||||
// Send to interpreter / server
|
||||
|
||||
processLine(text);
|
||||
|
||||
Reference in New Issue
Block a user