coolzhao / Geo-SAM

A QGIS plugin tool using Segment Anything Model (SAM) to accelerate segmenting or delineating landforms in geospatial raster images.
MIT License
199 stars 26 forks source link

"S" keyboard command not working to save results #42

Open rtfraser86 opened 2 months ago

rtfraser86 commented 2 months ago

Cannot get the S button to work as the keyboard command to save results. Have it working on another PC. Installed exactly the same. Running QGIS 3.36.1.

Fanchengyan commented 2 months ago

Hi @rtfraser86 ,

Sorry for the late reply. This bug is likely not related to the version of QGIS. Shortcuts only work when the plugin is in focus. Therefore, before using any shortcuts, you can click on the plugin to ensure it is active. If this approach does not resolve the issue, consider directly downloading the latest code from the main branch and replacing the existing code.

rtfraser86 commented 1 month ago

Hi @Fanchengyan - I can get ctrl+z to work, just not S. Plugin is in focus. Using QGIS 3.36.0 and .1 (2 different computers)

Fanchengyan commented 1 month ago

Hi @rtfraser86 ,

Which version of Geo-SAM are you currently using? The latest code from the main branch should work properly.

截图_20240507113955