Skip to content

Commit

Permalink
add Copy to Clipboard
Browse files Browse the repository at this point in the history
	modified:   nitrokeyapp/secrets_tab/__init__.py
  • Loading branch information
jj-so committed Oct 13, 2023
1 parent 41eb59c commit 675b3a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nitrokeyapp/secrets_tab/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from datetime import datetime
from typing import Optional

from PyQt5.QtCore import Qt, QThread, QTimer, pyqtSignal, pyqtSlot, QObject
from PyQt5.QtGui import QIcon, QClipboard, QGuiApplication
from PyQt5.QtCore import Qt, QThread, QTimer, pyqtSignal, pyqtSlot
from PyQt5.QtGui import QGuiApplication, QIcon
from PyQt5.QtWidgets import QDialog, QListWidgetItem, QWidget

from nitrokeyapp.add_secret_dialog import AddSecretDialog
Expand Down Expand Up @@ -194,7 +194,7 @@ def copy_to_clipboard(self) -> None:

def clear_clipboard(self) -> None:
self.clipboard.clear()
#QProcess.startDetached("/usr/bin/wl-copy", {"--clear"})
# QProcess.startDetached("/usr/bin/wl-copy", {"--clear"})

def add_credential(self, credential: Credential) -> QListWidgetItem:
icon = (
Expand Down

0 comments on commit 675b3a6

Please sign in to comment.