Skip to content

Commit

Permalink
Fixed bug causing add | generator menu to not properly handle scope+f…
Browse files Browse the repository at this point in the history
…unction generator hybrid instruments
  • Loading branch information
azonenberg committed Nov 2, 2024
1 parent 870163f commit 01fc21d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngscopeclient/MainWindow_Menus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ void MainWindow::WindowGeneratorMenu()

//Add it to the menu
if(ImGui::MenuItem(generator->m_nickname.c_str()))
m_session.AddInstrument(generator);
AddDialog(make_shared<FunctionGeneratorDialog>(generator, &m_session));
}

ImGui::EndMenu();
Expand Down

0 comments on commit 01fc21d

Please sign in to comment.