mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-05 22:40:16 +01:00
fixed small problem with loading of list into favorites menu filter selection combobox
This commit is contained in:
@@ -27,7 +27,10 @@ void DefineWindow::createControls() {
|
||||
def_load = new QPushButton("Load", this);
|
||||
def_load->setGeometry(340, 290, 100, 20);
|
||||
|
||||
|
||||
for(auto &i : ac::svAllSorted) {
|
||||
static int q = 0;
|
||||
if((++q)%2 == 0 && main_window->checkAdd(i.c_str()) == false && i.find("Intertwine") == std::string::npos && i.find("InOrder") == std::string::npos)
|
||||
def_filters->addItem(i.c_str());
|
||||
}
|
||||
connect(def_set, SIGNAL(clicked()), this, SLOT(setFilterName()));
|
||||
|
||||
Reference in New Issue
Block a user