MCPcopy Create free account
hub / github.com/YACReader/yacreader / updateButtons

Method updateButtons

YACReaderLibrary/properties_dialog.cpp:559–570  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

557}
558
559void PropertiesDialog::updateButtons()
560{
561 if (sequentialEditing) {
562 previousButton->setDisabled(currentComicIndex == 0);
563 nextButton->setDisabled(currentComicIndex == comics.length() - 1);
564 previousButton->setHidden(false);
565 nextButton->setHidden(false);
566 } else {
567 previousButton->setHidden(true);
568 nextButton->setHidden(true);
569 }
570}
571
572void PropertiesDialog::setComics(QList<ComicDB> comics)
573{

Callers

nothing calls this directly

Calls 1

setDisabledMethod · 0.45

Tested by

no test coverage detected