Skip to content

Commit 4bbfcfa

Browse files
committed
Added new sound for copy functions in the main window and info dialog.
1 parent b2920d5 commit 4bbfcfa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ui/dialogs/info_dialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def copy_text(self):
6161
clipboard = QApplication.clipboard()
6262
clipboard.setText(self.text_edit.toPlainText())
6363
UniversalSpeech.say("تم نسخ النص إلى الحافظة")
64-
64+
self.effects_manager.play("copy")
6565

6666
def reject(self):
6767
self.effects_manager.play("clos")

ui/quran_interface.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,8 @@ def on_copy_verse(self):
285285
clipboard = QApplication.clipboard()
286286
clipboard.setText(current_line)
287287
UniversalSpeech.say("تم نسخ الآية.")
288+
self.effects_manager.play("copy")
289+
288290

289291
def OnSyntax(self):
290292
aya_info = self.get_current_ayah_info()

0 commit comments

Comments
 (0)