From e04fb1f47ba6cd6e483dc25e5d14968f66be5728 Mon Sep 17 00:00:00 2001
From: Joakim Hunskaar <joakim.borge.hunskar@gmail.com>
Date: Mon, 17 Jun 2024 19:59:01 +0200
Subject: [PATCH] renamed getValue to getSelectedValue

---
 .../subprojects/animationwindow/include/widgets/DropdownList.h  | 2 +-
 .../subprojects/animationwindow/src/widgets/DropdownList.cpp    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dependencies/subprojects/animationwindow/include/widgets/DropdownList.h b/dependencies/subprojects/animationwindow/include/widgets/DropdownList.h
index 87fac22..56f34d2 100644
--- a/dependencies/subprojects/animationwindow/include/widgets/DropdownList.h
+++ b/dependencies/subprojects/animationwindow/include/widgets/DropdownList.h
@@ -13,7 +13,7 @@ namespace TDT4102 {
         void update(nk_context* context) override;
     public:
         explicit DropdownList(TDT4102::Point location, unsigned int width, unsigned int height, std::vector<std::string> &initialOptions);
-        std::string getValue() const;
+        std::string getSelectedValue() const;
         void setOptions(std::vector<std::string> &updatedOptionsList);
     };
 }
\ No newline at end of file
diff --git a/dependencies/subprojects/animationwindow/src/widgets/DropdownList.cpp b/dependencies/subprojects/animationwindow/src/widgets/DropdownList.cpp
index ebc80ea..f713704 100644
--- a/dependencies/subprojects/animationwindow/src/widgets/DropdownList.cpp
+++ b/dependencies/subprojects/animationwindow/src/widgets/DropdownList.cpp
@@ -10,7 +10,7 @@ TDT4102::DropdownList::DropdownList(TDT4102::Point location, unsigned int width,
 
 }
 
-std::string TDT4102::DropdownList::getValue() const {
+std::string TDT4102::DropdownList::getSelectedValue() const {
     return options.at(selectedIndex);
 }
 
-- 
GitLab