diff --git a/apps.cpp b/apps.cpp index 5a83249..2c8eeb8 100644 --- a/apps.cpp +++ b/apps.cpp @@ -305,6 +305,7 @@ void apps::on_editUserAppsBtn_clicked() userAppsSecondPage = true; // Settings page + ui->editUserAppsBtn->setIcon(QIcon(":/resources/save.png")); showUserApps(userAppsSecondPage); emit showUserAppsEdit(userAppsSecondPage); @@ -313,8 +314,9 @@ void apps::on_editUserAppsBtn_clicked() else { userAppsSecondPage = false; userAppsAvailable = false; - // Launch page + // Launch page + ui->editUserAppsBtn->setIcon(QIcon(":/resources/edit.png")); // It changed via updateJsonFileSlot, and now it writes it only once jsonFile.open(QFile::WriteOnly | QFile::Text | QFile::Truncate); jsonFile.write(jsonDocument.toJson()); diff --git a/eink.qrc b/eink.qrc index 5d6b3d4..ca60ca3 100644 --- a/eink.qrc +++ b/eink.qrc @@ -74,6 +74,7 @@ resources/clock.png resources/eink-square-encfs.qss resources/tzlist - resources/edit.png + resources/edit.png + resources/save.png diff --git a/resources/edit.png b/resources/edit.png index b84e661..a0fe6c5 100644 Binary files a/resources/edit.png and b/resources/edit.png differ diff --git a/resources/save.png b/resources/save.png new file mode 100644 index 0000000..7ea0cd1 Binary files /dev/null and b/resources/save.png differ