X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=6758d77df88a1854141964ab54e1b80a9be1ad4a;hb=86d4b8e3e52a422fe3a6956d6bbef27f1859717b;hp=6662180c7f19fde5fc5dad428e10bad8d412613c;hpb=09ab7056e772e3b85889eb1c508597b3cc7bfbe4;p=pulseview.git diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 6662180c..6758d77d 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -52,7 +52,8 @@ #ifdef ENABLE_DECODE #include "subwindows/decoder_selector/subwindow.hpp" -#include "views/decoder_output/view.hpp" +#include "views/decoder_binary/view.hpp" +#include "views/tabular_decoder/view.hpp" #endif #include @@ -162,8 +163,10 @@ shared_ptr MainWindow::add_view(views::ViewType type, // This view will be the main view if there's no main bar yet v = make_shared(session, (main_bar ? false : true), dock_main); #ifdef ENABLE_DECODE - if (type == views::ViewTypeDecoderOutput) - v = make_shared(session, false, dock_main); + if (type == views::ViewTypeDecoderBinary) + v = make_shared(session, false, dock_main); + if (type == views::ViewTypeTabularDecoder) + v = make_shared(session, false, dock_main); #endif if (!v)