|
|
|
@ -711,6 +711,11 @@ void Window::set_menu_actions() { |
|
|
|
SelectionDialog::get()->add_row(row_str); |
|
|
|
SelectionDialog::get()->add_row(row_str); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(paths->empty()) { |
|
|
|
|
|
|
|
Info::get().print("No files found in current project"); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
SelectionDialog::get()->on_select=[this, paths](const std::string &selected, bool hide_window) { |
|
|
|
SelectionDialog::get()->on_select=[this, paths](const std::string &selected, bool hide_window) { |
|
|
|
auto it=paths->find(selected); |
|
|
|
auto it=paths->find(selected); |
|
|
|
if(it!=paths->end()) { |
|
|
|
if(it!=paths->end()) { |
|
|
|
|