Don't scan for darframes/flatfields/cluts if folder is not set, #2238

This commit is contained in:
heckflosse
2019-06-24 19:52:17 +02:00
parent d3fb58a19c
commit 66c9cd6177
5 changed files with 11 additions and 5 deletions

View File

@@ -300,7 +300,7 @@ ClutComboBox::ClutModel::ClutModel(const Glib::ustring &path)
{
m_model = Gtk::TreeStore::create (m_columns);
//set_model (m_model);
count = parseDir(path);
count = path.empty() ? 0 : parseDir(path);
}
int ClutComboBox::ClutModel::parseDir(const Glib::ustring& path)