aboutsummaryrefslogtreecommitdiff
path: root/src/actions.rs
diff options
context:
space:
mode:
authorRubén Beltrán del Río <jj@r.bdr.sh>2026-03-26 18:13:49 +0100
committerRubén Beltrán del Río <jj@r.bdr.sh>2026-03-26 23:02:28 +0100
commitc5d45b748d90c79f881c4e054b425d68801dad14 (patch)
treeb39ddf37fb74d761b98d4e0e8f2abdb1a764273e /src/actions.rs
parent5f5b94474c83f85d95be5c53d148c4205c17d8e1 (diff)
Spin header into its own component
Diffstat (limited to 'src/actions.rs')
-rw-r--r--src/actions.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions.rs b/src/actions.rs
index 1d60820..33289b1 100644
--- a/src/actions.rs
+++ b/src/actions.rs
@@ -15,6 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
use std::path::PathBuf;
+use wmap_renderer::StageType;
use crate::preferences::UserPreferences;
@@ -43,7 +44,7 @@ impl ImageFormat {
#[derive(Debug, Clone)]
pub enum Action {
ChangeOrientation,
- StageTypeSelected(usize),
+ StageTypeSelected(StageType),
SourceChanged,
Zoom(f64),
ZoomOut,