From 2ba3b42599bc465eb6858c1194e60678dbb2ca67 Mon Sep 17 00:00:00 2001 From: Nicolas Mailloux Date: Mon, 10 Jan 2022 21:10:57 -0500 Subject: [PATCH] Set optionsBtn to inactive state when closing wordWidget --- reader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/reader.cpp b/reader.cpp index da51e69..f9c0466 100644 --- a/reader.cpp +++ b/reader.cpp @@ -1431,6 +1431,7 @@ void reader::wordwidget_show() { void reader::wordwidget_hide() { ui->wordWidget->setVisible(false); + ui->optionsBtn->setStyleSheet("background: white; color: black"); ui->optionsBtn->show(); ui->line->show(); wordwidgetLock = false;