mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-20 06:39:59 +01:00
Code compilation fix
This commit is contained in:
@@ -1119,8 +1119,12 @@ void ImGuiVisitor::visit (CloneSource& s)
|
||||
// link to origin source
|
||||
if ( !s.failed() ) {
|
||||
std::string label = std::string(s.origin()->initials()) + " - " + s.origin()->name();
|
||||
if (ImGui::Button(label.c_str(), ImVec2(IMGUI_RIGHT_ALIGN, 0) ))
|
||||
if (ImGui::Button(label.c_str(), ImVec2(IMGUI_RIGHT_ALIGN, 0) )) {
|
||||
Mixer::manager().setCurrentSource(s.origin());
|
||||
|
||||
if (UserInterface::manager().navigator.pannelVisible())
|
||||
UserInterface::manager().navigator.showPannelSource( Mixer::manager().indexCurrentSource() );
|
||||
}
|
||||
ImGui::SameLine(0, IMGUI_SAME_LINE);
|
||||
ImGui::Text("Origin");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user