Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Turri <enricoturri@seznam.cz>2019-05-06 16:24:50 +0300
committerEnrico Turri <enricoturri@seznam.cz>2019-05-09 12:43:28 +0300
commitcc98c9bbe2931201f4e5f2eb1c243d299ffdc36a (patch)
treeae9eddad003701114663a71d104c2bc3f779024a /src/slic3r/GUI/Field.hpp
parentec57a7f9711d6e8293c4e181046c9ff6c3e51e8b (diff)
Fixed disappearing visual hints when the user presses the ENTER key while editing one of the object manipulators fields
Diffstat (limited to 'src/slic3r/GUI/Field.hpp')
-rw-r--r--src/slic3r/GUI/Field.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/Field.hpp b/src/slic3r/GUI/Field.hpp
index 88ea39036..210ae73f4 100644
--- a/src/slic3r/GUI/Field.hpp
+++ b/src/slic3r/GUI/Field.hpp
@@ -225,6 +225,9 @@ public:
m_em_unit = em_unit(m_parent);
}
+ bool get_enter_pressed() const { return bEnterPressed; }
+ void set_enter_pressed(bool pressed) { bEnterPressed = pressed; }
+
protected:
RevertButton* m_Undo_btn = nullptr;
// Bitmap and Tooltip text for m_Undo_btn. The wxButton will be updated only if the new wxBitmap pointer differs from the currently rendered one.