mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-21 23:50: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->data_view->hide();
|
||||||
ui->search_input->show();
|
ui->search_input->show();
|
||||||
adjustSize();
|
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
ui->search_input->blockSignals(true);
|
ui->search_input->blockSignals(true);
|
||||||
@ -1335,7 +1334,6 @@ void MainWindow::setSearchState(bool enable)
|
|||||||
|
|
||||||
ui->search_input->hide();
|
ui->search_input->hide();
|
||||||
ui->data_view->show();
|
ui->data_view->show();
|
||||||
adjustSize();
|
|
||||||
if (!searchString.isEmpty())
|
if (!searchString.isEmpty())
|
||||||
{
|
{
|
||||||
searchString.clear();
|
searchString.clear();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user