mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
Fix search adjusting window size
This commit is contained in:
parent
ae75863aed
commit
c141387f66
@ -1326,7 +1326,6 @@ void MainWindow::setSearchState(bool enable)
|
||||
{
|
||||
ui->data_view->hide();
|
||||
ui->search_input->show();
|
||||
adjustSize();
|
||||
} else
|
||||
{
|
||||
ui->search_input->blockSignals(true);
|
||||
@ -1335,7 +1334,6 @@ void MainWindow::setSearchState(bool enable)
|
||||
|
||||
ui->search_input->hide();
|
||||
ui->data_view->show();
|
||||
adjustSize();
|
||||
if (!searchString.isEmpty())
|
||||
{
|
||||
searchString.clear();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user