moving slides after moving serviceItems, need to fix count of slides

This commit is contained in:
Chris Cochrun 2023-01-24 06:17:47 -06:00
parent 02c4c8a47a
commit 08ed111efc
5 changed files with 47 additions and 6 deletions

View file

@ -151,6 +151,10 @@ int main(int argc, char *argv[])
SIGNAL(slideChanged(int)),
slideModel.get(),
SLOT(activate(int)));
QObject::connect(serviceItemModel.get(),
SIGNAL(rowMoved(const int&, const int&, const ServiceItem&)),
slideModel.get(),
SLOT(moveRowFromService(const int&, const int&, const ServiceItem&)));
bool loading = serviceItemModel.get()->loadLastSaved();