Skip to content

Commit

Permalink
https://github.com/StephaneCouturier/Katalog/issues/202
Browse files Browse the repository at this point in the history
  • Loading branch information
StephaneCouturier committed Nov 23, 2024
1 parent 082a8a8 commit cc3dc33
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/mainwindow_tab_search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@
//Buttons and other changes
void MainWindow::on_Search_lineEdit_SearchText_returnPressed()
{
if(collection->databaseMode !="Memory"){
searchFilesStoppable();
}
else
// if(collection->databaseMode !="Memory"){
// searchFilesStoppable();
// }
// else
searchFiles();
}
//----------------------------------------------------------------------
void MainWindow::on_Search_pushButton_Search_clicked()
{
if(collection->databaseMode !="Memory"){
searchFilesStoppable();
}
else
// if(collection->databaseMode !="Memory"){
// searchFilesStoppable();
// }
// else
searchFiles();
}
//----------------------------------------------------------------------
Expand Down Expand Up @@ -2263,7 +2263,7 @@
newDevice->catalog->generateID();
newDevice->externalID = newDevice->catalog->ID;
newDevice->groupID = 1;
newDevice->path = newSearch->searchDateTime; //passing a date instead of a path, as there is not 1 path for a given search that can be multi-catalog
newDevice->path = "EXPORT"; //there is not 1 path for a given search that can be multi-catalog
newDevice->insertDevice();

//Get inputs and set values of the new Catalog
Expand Down

0 comments on commit cc3dc33

Please sign in to comment.