mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
fix: Notify user when no options are selected when applying settings.
This commit is contained in:
parent
8fd02203c7
commit
58a8b60826
@ -85,6 +85,11 @@ function applyRyzenSettings() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (parameters.length === 0) {
|
||||||
|
notification('primary', 'Please add some options before applying ryzenAdj.');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (!appSettings.get('retry')) {
|
if (!appSettings.get('retry')) {
|
||||||
appSettings.set('retry', 2);
|
appSettings.set('retry', 2);
|
||||||
notification('warning', 'Applying settings...');
|
notification('warning', 'Applying settings...');
|
||||||
|
Loading…
Reference in New Issue
Block a user