mirror of
https://github.com/YACReader/yacreader
synced 2025-07-19 05:24:57 -04:00
Show the automatic volume text that is going to be used in comic vine dialog
The user can chose to use it or edit it before starting the search.
This commit is contained in:
@ -123,13 +123,7 @@ void ComicVineDialog::goNext()
|
||||
QString volumeSearchString = comics[0].getParentFolderName();
|
||||
mode = Volume;
|
||||
|
||||
if (volumeSearchString.isEmpty())
|
||||
showSearchVolume();
|
||||
else {
|
||||
status = AutoSearching;
|
||||
showLoading(tr("Looking for volume..."));
|
||||
searchVolume(volumeSearchString);
|
||||
}
|
||||
showSearchVolume(volumeSearchString);
|
||||
} else {
|
||||
status = AutoSearching;
|
||||
mode = SingleComicInList;
|
||||
@ -340,8 +334,10 @@ void ComicVineDialog::showSearchSingleComic()
|
||||
toggleSkipButton();
|
||||
}
|
||||
|
||||
void ComicVineDialog::showSearchVolume()
|
||||
void ComicVineDialog::showSearchVolume(const QString &volume)
|
||||
{
|
||||
searchVolumeWidget->setVolumeInfo(volume);
|
||||
|
||||
status = AskingForInfo;
|
||||
content->setCurrentWidget(searchVolumeWidget);
|
||||
backButton->setHidden(true);
|
||||
|
Reference in New Issue
Block a user