summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hyprerror/HyprError.cpp')
-rw-r--r--src/hyprerror/HyprError.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp
index ca0776ea..b72f0589 100644
--- a/src/hyprerror/HyprError.cpp
+++ b/src/hyprerror/HyprError.cpp
@@ -33,7 +33,6 @@ void CHyprError::queueCreate(std::string message, const CColor& color) {
void CHyprError::createQueued() {
if (m_bIsCreated) {
- m_bQueuedDestroy = false;
m_tTexture.destroyTexture();
}
@@ -171,4 +170,6 @@ void CHyprError::draw() {
void CHyprError::destroy() {
if (m_bIsCreated)
m_bQueuedDestroy = true;
+ else
+ m_szQueued = "";
}