Cleanup code and includes

This commit is contained in:
Bruno
2021-03-03 22:39:17 +01:00
parent d6d1ab5099
commit 2ccedd42e4
4 changed files with 12 additions and 24 deletions

View File

@@ -8,7 +8,6 @@
#include "imgui.h"
#include "ImGuiToolkit.h"
// memmove
#include <string>
#include <iomanip>
@@ -98,8 +97,10 @@ void LayerView::draw()
// special action of Mixing view
if (candidate_flatten_group){
if (ImGui::Selectable( ICON_FA_DOWNLOAD " Flatten" ))
if (ImGui::Selectable( ICON_FA_DOWNLOAD " Flatten" )) {
Mixer::manager().groupSelection();
}
}
else {
ImGui::TextDisabled( ICON_FA_DOWNLOAD " Flatten" );