diff --git a/RedPandaIDE/mainwindow.cpp b/RedPandaIDE/mainwindow.cpp index cd963440..aa6ed124 100644 --- a/RedPandaIDE/mainwindow.cpp +++ b/RedPandaIDE/mainwindow.cpp @@ -9733,7 +9733,7 @@ void MainWindow::on_actionSubmit_Issues_triggered() void MainWindow::on_actionDocument_triggered() { - QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp/docsy/docs/")); + QDesktopServices::openUrl(QUrl("https://royqh1979.gitee.io/redpandacpp/docsy/docs/usage")); } diff --git a/RedPandaIDE/widgets/searchdialog.ui b/RedPandaIDE/widgets/searchdialog.ui index f7d959d2..c71123d6 100644 --- a/RedPandaIDE/widgets/searchdialog.ui +++ b/RedPandaIDE/widgets/searchdialog.ui @@ -99,6 +99,12 @@ + + + 0 + 0 + + true diff --git a/RedPandaIDE/widgets/searchinfiledialog.cpp b/RedPandaIDE/widgets/searchinfiledialog.cpp index 6d02248e..6e913360 100644 --- a/RedPandaIDE/widgets/searchinfiledialog.cpp +++ b/RedPandaIDE/widgets/searchinfiledialog.cpp @@ -428,12 +428,12 @@ void SearchInFileDialog::on_btnReplace_clicked() void SearchInFileDialog::on_rbFolder_toggled(bool checked) { - ui->lblFilters->setVisible(checked); - ui->txtFilters->setVisible(checked); - ui->lblFolder->setVisible(checked); - ui->txtFolder->setVisible(checked); - ui->btnChangeFolder->setVisible(checked); - ui->cbSearchSubFolders->setVisible(checked); +// ui->lblFilters->setVisible(checked); + ui->txtFilters->setEnabled(checked); +// ui->lblFolder->setVisible(checked); + ui->txtFolder->setEnabled(checked); + ui->btnChangeFolder->setEnabled(checked); + ui->cbSearchSubFolders->setEnabled(checked); if (checked) { if (!directoryExists(ui->txtFolder->text())) ui->txtFolder->setText(pSettings->environment().currentFolder()); diff --git a/RedPandaIDE/widgets/searchinfiledialog.ui b/RedPandaIDE/widgets/searchinfiledialog.ui index 5b111687..36afa627 100644 --- a/RedPandaIDE/widgets/searchinfiledialog.ui +++ b/RedPandaIDE/widgets/searchinfiledialog.ui @@ -40,6 +40,12 @@ + + + 0 + 0 + + 0 @@ -62,6 +68,12 @@ + + + 0 + 0 + + Text to Find: