- fix: Replace panel should be hidden after finding occurrencies.

This commit is contained in:
Roy Qu 2023-07-02 23:41:32 +08:00
parent e11a81d3c0
commit 48e6dbc024
3 changed files with 3 additions and 2 deletions

View File

@ -23,6 +23,7 @@ Red Panda C++ Version 2.23
- improvement: Correctly expands multi-line macros when parsing; - improvement: Correctly expands multi-line macros when parsing;
- improvement: Correctly eppands macros when real param string contains '(' or ')'. - improvement: Correctly eppands macros when real param string contains '(' or ')'.
- enhancement: add "OI Wiki" and "turtle graphics tutorial" in help menu for zh_CN locale. - enhancement: add "OI Wiki" and "turtle graphics tutorial" in help menu for zh_CN locale.
- fix: Replace panel should be hidden after finding occurrencies.
Red Panda C++ Version 2.22 Red Panda C++ Version 2.22

View File

@ -135,7 +135,7 @@ void ExecutableRunner::run()
args->flags &= ~CREATE_NO_WINDOW; args->flags &= ~CREATE_NO_WINDOW;
} }
if (!mRedirectInput) { if (!mRedirectInput) {
args->startupInfo -> dwFlags &= ~STARTF_USESTDHANDLES; args->startupInfo->dwFlags &= ~STARTF_USESTDHANDLES;
} }
}); });
HANDLE hSharedMemory=INVALID_HANDLE_VALUE; HANDLE hSharedMemory=INVALID_HANDLE_VALUE;

View File

@ -6757,7 +6757,7 @@ void MainWindow::on_actionFind_references_triggered()
if (editor && editor->pointToCharLine(mEditorContextMenuPos,pos)) { if (editor && editor->pointToCharLine(mEditorContextMenuPos,pos)) {
CppRefacter refactor; CppRefacter refactor;
refactor.findOccurence(editor,pos); refactor.findOccurence(editor,pos);
showSearchPanel(true); showSearchPanel(false);
} }
} }