mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-14 10:50:01 +01:00
set menu
This commit is contained in:
@@ -1679,7 +1679,9 @@ void AC_MainWindow::save_CustomFile() {
|
|||||||
|
|
||||||
void AC_MainWindow::setRandomFilterValue() {
|
void AC_MainWindow::setRandomFilterValue() {
|
||||||
menu_cat->setCurrentIndex(0);
|
menu_cat->setCurrentIndex(0);
|
||||||
int index = rand()%solo_filter.size();
|
resetMenu();
|
||||||
|
int index = rand()%ac::solo_filter.size();
|
||||||
std::string filter_name = ac::solo_filter[index];
|
std::string filter_name = ac::solo_filter[index];
|
||||||
filters->setCurrentIndex(ac::filter_map[filter_name]);
|
int filter_index = ac::filter_map[filter_name];
|
||||||
|
filters->setCurrentIndex(filter_index);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user