Bug 348

Summary: The Zoom 1:1 icon is not shown in the main toolbar
Product: PulseView Reporter: Uwe Hermann <uwe>
Component: OtherAssignee: Nobody <nobody>
Status: RESOLVED FIXED    
Severity: minor    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Uwe Hermann 2014-04-22 23:56:05 CEST
The Zoom 1:1 icon is not shown in the main toolbar (but it is shown in the "View" menu). Is that intentional? If no, the fix is rather simple:

diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp
index 0089b11..1447efd 100644
--- a/pv/mainwindow.cpp
+++ b/pv/mainwindow.cpp
@@ -257,6 +257,7 @@ void MainWindow::setup_ui()
        toolbar->addAction(action_view_zoom_in);
        toolbar->addAction(action_view_zoom_out);
        toolbar->addAction(action_view_zoom_fit);
+       toolbar->addAction(action_view_zoom_one_to_one);
        addToolBar(toolbar);

        // Setup the sampling bar
Comment 1 Uwe Hermann 2014-06-08 18:19:12 CEST
This was fixed in f45512cb2dda491c2e191b6452bb79b9cf116690.