mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 10:31:34 -08:00
36 lines
963 B
Diff
36 lines
963 B
Diff
diff --git a/mac/qiostextinputoverlay.mm b/qiostextinputoverlay.mm
|
|
old mode 100755
|
|
new mode 100644
|
|
index 3da4ba5..6d371a1
|
|
--- a/mac/qiostextinputoverlay.mm
|
|
+++ b/qiostextinputoverlay.mm
|
|
@@ -456,6 +456,9 @@ static void executeBlockWithoutAnimation(Block block)
|
|
|
|
- (void)setEnabled:(BOOL)enabled
|
|
{
|
|
+ if (qApp->property("disable-clipboard-menu").toBool()) // hack
|
|
+ enabled = NO;
|
|
+
|
|
if (enabled == self.enabled)
|
|
return;
|
|
|
|
@@ -677,6 +680,9 @@ static void executeBlockWithoutAnimation(Block block)
|
|
|
|
- (void)setEnabled:(BOOL)enabled
|
|
{
|
|
+ if (qApp->property("disable-clipboard-menu").toBool()) // hack
|
|
+ enabled = NO;
|
|
+
|
|
if (enabled == self.enabled)
|
|
return;
|
|
|
|
@@ -901,6 +907,9 @@ static void executeBlockWithoutAnimation(Block block)
|
|
|
|
- (void)setEnabled:(BOOL)enabled
|
|
{
|
|
+ if (qApp->property("disable-clipboard-menu").toBool()) // hack
|
|
+ enabled = NO;
|
|
+
|
|
if (enabled == self.enabled)
|
|
return;
|
|
|