mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: console selects word on click. (#2372)
The problem was that the console was calling select word under cursor when no selection was done. Fixed by removing the call.
This commit is contained in:
@@ -1006,8 +1006,6 @@ namespace hex::plugin::builtin {
|
||||
RequestOpenPopup::post("hex.builtin.menu.edit");
|
||||
m_consoleEditor.get(provider).ClearRaiseContextMenu();
|
||||
}
|
||||
if (!m_consoleEditor.get(provider).HasSelection())
|
||||
m_consoleEditor.get(provider).SelectWordUnderCursor();
|
||||
|
||||
if (m_consoleCursorNeedsUpdate.get(provider)) {
|
||||
m_consoleEditor.get(provider).SetFocusAtCoords(m_consoleCursorPosition.get(provider));
|
||||
|
||||
Reference in New Issue
Block a user