mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
Search address text automatically selected with pressing CTRL+G to make it easier/faster to change
This commit is contained in:
parent
dd25b79c2c
commit
c4de66f6e7
2 changed files with 2 additions and 0 deletions
|
@ -247,6 +247,7 @@ void CodeWidget::OnPPCSymbolsChanged()
|
||||||
void CodeWidget::ActivateSearchAddress()
|
void CodeWidget::ActivateSearchAddress()
|
||||||
{
|
{
|
||||||
m_search_address->setFocus();
|
m_search_address->setFocus();
|
||||||
|
m_search_address->selectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CodeWidget::OnSearchAddress()
|
void CodeWidget::OnSearchAddress()
|
||||||
|
|
|
@ -592,6 +592,7 @@ void MemoryWidget::SetAddress(u32 address)
|
||||||
void MemoryWidget::ActivateSearchAddress()
|
void MemoryWidget::ActivateSearchAddress()
|
||||||
{
|
{
|
||||||
m_search_address->setFocus();
|
m_search_address->setFocus();
|
||||||
|
m_search_address->lineEdit()->selectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MemoryWidget::OnSearchAddress()
|
void MemoryWidget::OnSearchAddress()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue