Coins: focus searchbar on toggle

This commit is contained in:
tobtoht
2021-07-02 16:51:46 +02:00
parent 3b06ca4b17
commit 18cb8e2132
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -1483,6 +1483,8 @@ void MainWindow::toggleSearchbar(bool visible) {
m_contactsWidget->focusSearchbar();
else if (currentTab == Tabs::RECEIVE)
m_receiveWidget->focusSearchbar();
else if (currentTab == Tabs::COINS)
m_coinsWidget->focusSearchbar();
}
MainWindow::~MainWindow() = default;