Added refresh button on managed java list

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2024-02-18 09:32:31 +02:00
parent 5232b3cd89
commit a7dad96a70
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318
3 changed files with 12 additions and 0 deletions

View File

@ -296,3 +296,7 @@ void JavaPage::on_removeJavaButton_clicked()
}
}
}
void JavaPage::on_refreshJavaButton_clicked()
{
ui->managedJavaList->loadList();
}

View File

@ -77,6 +77,7 @@ class JavaPage : public QWidget, public BasePage {
void on_removeExtraPathButton_clicked();
void on_downloadJavaButton_clicked();
void on_removeJavaButton_clicked();
void on_refreshJavaButton_clicked();
void on_maxMemSpinBox_valueChanged(int i);
void checkerFinished();

View File

@ -376,6 +376,13 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="refreshJavaButton">
<property name="text">
<string>Refresh</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>