Skip to content

Commit

Permalink
Revert "add Debugging"
Browse files Browse the repository at this point in the history
This reverts commit 9bcfefe.
  • Loading branch information
Murmele committed Nov 12, 2023
1 parent f81c01f commit 3f2d236
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ui/MenuBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -966,9 +966,7 @@ void MenuBar::updateCutCopyPaste() {
mFindSelection->setEnabled(false);

QWidget *widget = QApplication::focusWidget();
Debug("Starting reading clipboard");
bool canPaste = !QApplication::clipboard()->text().isEmpty();
Debug("Finished reading clipboard");
if (TextEditor *editor = qobject_cast<TextEditor *>(widget)) {
mCut->setEnabled(!editor->selectionEmpty() && !editor->readOnly());
mCopy->setEnabled(!editor->selectionEmpty());
Expand Down

0 comments on commit 3f2d236

Please sign in to comment.