X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=qui%2FMussaAlignedWindow.cpp;h=7e4246dfb79509db70a90d15dd275605d9e4646e;hp=085a8b67e2bc4788602a2b231ad0e03bab0d4dd9;hb=58fe385bd7703c81343e08b13f2492380a5089c2;hpb=709adb67d249056f6864402c17f421a9b31f6119 diff --git a/qui/MussaAlignedWindow.cpp b/qui/MussaAlignedWindow.cpp index 085a8b6..7e4246d 100644 --- a/qui/MussaAlignedWindow.cpp +++ b/qui/MussaAlignedWindow.cpp @@ -40,6 +40,11 @@ MussaAlignedWindow::MussaAlignedWindow(MussaRef m, connect(zoom, SIGNAL(valueChanged(double)), &browser, SLOT(setZoom(double))); zoom->setValue(zoom_level); + + // Mouse scroll wheel zooming! + connect(&browser, SIGNAL(mouseWheelZoom(double)), + zoom, SLOT(setValue(double))); + computeMatchLines(); setupMenus(); setupAlignmentMenus();