mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-07 16:19:38 +02:00
Add dropdown menu to show or set zoom level
This commit is contained in:
@@ -147,8 +147,8 @@ void MainWindow::handleMappingItemSelectionChanged()
|
||||
setCurrentMapping(mappingId);
|
||||
setCurrentPaint(paintId);
|
||||
// Enable or not zoom tool buttons
|
||||
sourceCanvas->enableZoomToolButtons(item ? true : false);
|
||||
destinationCanvas->enableZoomToolButtons(item ? true : false);
|
||||
sourceCanvas->enableZoomToolBar(item ? true : false);
|
||||
destinationCanvas->enableZoomToolBar(item ? true : false);
|
||||
}
|
||||
|
||||
// Update canvases.
|
||||
|
||||
Reference in New Issue
Block a user