Bug 348 - The Zoom 1:1 icon is not shown in the main toolbar
Summary: The Zoom 1:1 icon is not shown in the main toolbar
Status: RESOLVED FIXED
Alias: None
Product: PulseView
Classification: Unclassified
Component: Other (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal minor
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 23:56 CEST by Uwe Hermann
Modified: 2014-06-08 18:19 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.